Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault when building image in sysbox container (docker in docker) #494

Closed
lox opened this issue Mar 2, 2022 · 2 comments
Closed

Segfault when building image in sysbox container (docker in docker) #494

lox opened this issue Mar 2, 2022 · 2 comments
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@lox
Copy link

lox commented Mar 2, 2022

Using the following docker file:

FROM python:3.8

RUN pip install pip -U
RUN pip install pandas jupyterlab polars ipython tensorflow scipy pyarrow

WORKDIR /current

Running the following under sysbox 0.4.1.:

docker run --runtime=sysbox-runc -it nestybox/ubuntu-bionic-docker:latest
dockerd &
mkdir test
echo "FROM python:3.8

RUN pip install pip -U
RUN pip install pandas jupyterlab polars ipython tensorflow scipy pyarrow

WORKDIR /current" > test/Dockerfile
cd test
docker build .

Sending build context to Docker daemon  2.048kB
Step 1/4 : FROM python:3.8
3.8: Pulling from library/python
0c6b8ff8c37e: Pull complete
412caad352a3: Pull complete
e6d3e61f7a50: Pull complete
461bb1d8c517: Pull complete
808edda3c2e8: Pull complete
724cfd2dc19b: Pull complete
d5ecac12bcee: Pull complete
404faa91ca52: Pull complete
dc2d66408fbd: Pull complete
Digest: sha256:9367edaf25656d534a889450d82e3e8fe1a5c5a4c47ee3c812a64c64290a901f
Status: Downloaded newer image for python:3.8
 ---> d5453fc7b6f7
Step 2/4 : RUN pip install pip -U
 ---> Running in 05334389a125
time="2022-03-02T08:32:52.837453825Z" level=info msg="starting signal loop" namespace=moby path=/run/docker/containerd/daemon/io.containerd.runtime.v2.task/moby/05334389a1252932197fd32e8889df3225383fa0ebc9e449862bd11d00d38e2a pid=1045
Requirement already satisfied: pip in /usr/local/lib/python3.8/site-packages (21.2.4)
Collecting pip
  Downloading pip-22.0.3-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 21.2.4
    Uninstalling pip-21.2.4:
      Successfully uninstalled pip-21.2.4
Segmentation fault (core dumped)
INFO[2022-03-02T08:33:00.497140200Z] shim disconnected                             id=05334389a1252932197fd32e8889df3225383fa0ebc9e449862bd11d00d38e2a
INFO[2022-03-02T08:33:00.497179032Z] ignoring event                                container=05334389a1252932197fd32e8889df3225383fa0ebc9e449862bd11d00d38e2a module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
ERRO[2022-03-02T08:33:00.497270514Z] copy shim log                                 error="read /proc/self/fd/14: file already closed"
The command '/bin/sh -c pip install pip -U' returned a non-zero code: 139
@rodnymolina
Copy link
Member

Probably a dup of issue #485. Please verify with the latest binaries.

@rodnymolina rodnymolina self-assigned this Mar 2, 2022
@rodnymolina rodnymolina added bug Something isn't working duplicate This issue or pull request already exists labels Mar 2, 2022
@rodnymolina
Copy link
Member

Closing as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants