Skip to content

Docker Compose Up does not work #29550

Closed
Closed
@dneville-cvs

Description

@dneville-cvs

Bug description

When I run docker compose up as I'm trying to follow this guide, I get the following error:

 => ERROR [superset-worker-beat dev 5/7] RUN apt-get update -qq     && apt-get install -yqq --no-install-recommends wget bzip2     && wget -q https://github.com/mozilla/geckodriver/release  3.8s
------
 > [superset-worker-beat dev 5/7] RUN apt-get update -qq     && apt-get install -yqq --no-install-recommends wget bzip2     && wget -q https://github.com/mozilla/geckodriver/releases/download/v0.34.0/geckodriver-v0.34.0-linux64.tar.gz -O - | tar xfz - -C /usr/local/bin     && wget -q https://download-installer.cdn.mozilla.net/pub/firefox/releases/125.0.3/linux-x86_64/en-US/firefox-125.0.3.tar.bz2 -O - | tar xfj - -C /opt     && ln -s /opt/firefox/firefox /usr/local/bin/firefox     && apt-get autoremove -yqq --purge wget bzip2 && rm -rf /var/[log,tmp]/* /tmp/* /var/lib/apt/lists/*:
2.653 debconf: delaying package configuration, since apt-utils is not installed
2.672 Selecting previously unselected package bzip2.
(Reading database ... 26168 files and directories currently installed.)
2.680 Preparing to unpack .../bzip2_1.0.8-5+b1_arm64.deb ...
2.680 Unpacking bzip2 (1.0.8-5+b1) ...
2.690 Selecting previously unselected package wget.
2.691 Preparing to unpack .../wget_1.21.3-1+b1_arm64.deb ...
2.691 Unpacking wget (1.21.3-1+b1) ...
2.738 Setting up wget (1.21.3-1+b1) ...
2.741 Setting up bzip2 (1.0.8-5+b1) ...
3.809 
3.809 bzip2: Compressed file ends unexpectedly;
3.809   perhaps it is corrupted?  *Possible* reason follows.
3.809 bzip2: Inappropriate ioctl for device
3.809   Input file = (stdin), output file = (stdout)
3.809 
3.809 It is possible that the compressed file(s) have become corrupted.
3.809 You can use the -tvv option to test integrity of such files.
3.809 
3.809 You can use the `bzip2recover' program to attempt to recover
3.809 data from undamaged sections of corrupted files.
3.809 
3.809 tar: Child returned status 2
3.809 tar: Error is not recoverable: exiting now
------
failed to solve: process "/bin/sh -c apt-get update -qq     && apt-get install -yqq --no-install-recommends wget bzip2     && wget -q https://github.com/mozilla/geckodriver/releases/download/${GECKODRIVER_VERSION}/geckodriver-${GECKODRIVER_VERSION}-linux64.tar.gz -O - | tar xfz - -C /usr/local/bin     && wget -q https://download-installer.cdn.mozilla.net/pub/firefox/releases/${FIREFOX_VERSION}/linux-x86_64/en-US/firefox-${FIREFOX_VERSION}.tar.bz2 -O - | tar xfj - -C /opt     && ln -s /opt/firefox/firefox /usr/local/bin/firefox     && apt-get autoremove -yqq --purge wget bzip2 && rm -rf /var/[log,tmp]/* /tmp/* /var/lib/apt/lists/*" did not complete successfully: exit code: 2

How to reproduce the bug

  1. Clone the repo
  2. run docker compose up

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

I am on an M2 Macbook Pro. I have made no modifications to the repo. I have made sure I'm on an up-to-date master branch. I have turned all the Docker resource settings to max.

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Metadata

Metadata

Assignees

Labels

install:dockerInstallation - docker container

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions