osrf / rocker

A tool to run docker containers with overlays and convenient options for things like GUIs etc.
Apache License 2.0
559 stars 73 forks source link

Can't run tests #180

Closed ahmedselim2017 closed 2 years ago

ahmedselim2017 commented 2 years ago

When I try to run anyone of the tests from the readme.md, it gets stuck in Step 9.

I installed rocker through AUR. I have proprietary Nvidia Drivers and nvidia-container-toolkit installed as shown in the arch wiki.

The output of one of the tests:

λ ~ › rocker --nvidia --x11 osrf/ros:kinetic-desktop-full gazebo
Extension volume doesn't support default arguments. Please extend it.
Active extensions ['nvidia', 'x11']
Step 1/12 : FROM python:3-slim-stretch as detector
 ---> 7691d3cb6cbc
Step 2/12 : RUN mkdir -p /tmp/distrovenv
 ---> Using cache
 ---> 0e7b08ae823d
Step 3/12 : RUN python3 -m venv /tmp/distrovenv
 ---> Using cache
 ---> 4367726ddf3e
Step 4/12 : RUN apt-get update && apt-get install -qy patchelf binutils
 ---> Using cache
 ---> 647fd91bd435
Step 5/12 : RUN . /tmp/distrovenv/bin/activate && pip install distro pyinstaller==4.0 staticx==0.12.3
 ---> Using cache
 ---> 0132fa0ad7ed
Step 6/12 : RUN echo 'import distro; import sys; output = (distro.name(), distro.version(), distro.codename()); print(output) if distro.name() else sys.exit(1)' > /tmp/distrovenv/detect_os.py
 ---> Using cache
 ---> 6f16c0a1d731
Step 7/12 : RUN . /tmp/distrovenv/bin/activate && pyinstaller --onefile /tmp/distrovenv/detect_os.py
 ---> Using cache
 ---> 594cc9b6ecd6
Step 8/12 : RUN . /tmp/distrovenv/bin/activate && staticx /dist/detect_os /dist/detect_os_static && chmod go+xr /dist/detect_os_static
 ---> Using cache
 ---> 720141d243d2
Step 9/12 : FROM osrf/ros:kinetic-desktop-full
tfoote commented 2 years ago

Step 9 is a long running process where it has to pull down a large image. It's likely not stuck, but pulling the image osrf/ros:kinetic-desktop-full from dockerhub. It's close to a gigabyte in size: https://hub.docker.com/layers/ros/osrf/ros/kinetic-desktop-full/images/sha256-e350d250d704f10ae43039e7f7b1f3da2282cfe1330852964797f375d547f174?context=explore which will take a good amount of time depending on your system and network connection speed.