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

Docker installation quick start Failed! #8700

Open
3 tasks done
soumya997 opened this issue Sep 1, 2024 · 0 comments
Open
3 tasks done

Docker installation quick start Failed! #8700

soumya997 opened this issue Sep 1, 2024 · 0 comments
Labels
type:bug Software flaws or errors.

Comments

@soumya997
Copy link

soumya997 commented Sep 1, 2024

Checklist

  • I've read the contribution guidelines.
  • I've searched other issues and no duplicate issues were found.
  • I'm convinced that this is not my fault but a bug.

Description

I tried following the Docker installation for quick start guide, but it fails in the 3rd step, when it need to pull the autoware-universe:latest-cuda docker image. see below output,

$ rocker --nvidia --x11 --user --volume $HOME/autoware_map -- ghcr.io/autowarefoundation/autoware-universe:humble-latest-prebuilt

Extension volume doesn't support default arguments. Please extend it.
Active extensions ['nvidia', 'user', 'volume', 'x11']
Step 1/6 : FROM golang:1.19 as detector
 ---> 80b76a6c918c
Step 2/6 : RUN git clone -q https://github.com/dekobon/distro-detect.git &&     cd distro-detect &&     git checkout -q 5f5b9c724b9d9a117732d2a4292e6288905734e1 &&     CGO_ENABLED=0 go build .
 ---> Using cache
 ---> 20d249e22f49
Step 3/6 : FROM ghcr.io/autowarefoundation/autoware-universe:humble-latest-prebuilt
no more output and success not detected
Failed to build detector image
WARNING unable to detect os for base image 'ghcr.io/autowarefoundation/autoware-universe:humble-latest-prebuilt', maybe the base image does not exist

Seems like that the image might not exist or that there is an issue with detecting the operating system of the base image.

Expected behavior

should have installed the autoware docker image.

Actual behavior

Fails at the 3rd step, where it was supposed to install the autoware-universe:humble-latest-prebuilt docker image.

Steps to reproduce

  1. install docker
  2. install NVIDIA Container Toolkit
  3. install rocker using either pip install --force-reinstall git+https://github.com/osrf/rocker.git@main or sudo apt purge python3-rocker.
  4. mkdir ~/autoware_map
  5. rocker --nvidia --x11 --user --volume $HOME/autoware_map -- ghcr.io/autowarefoundation/autoware-universe:humble-latest-prebuilt

last command should throw below output,

$ rocker --nvidia --x11 --user --volume $HOME/autoware_map -- ghcr.io/autowarefoundation/autoware-universe:humble-latest-prebuilt
Extension volume doesn't support default arguments. Please extend it.
Active extensions ['nvidia', 'user', 'volume', 'x11']
Step 1/6 : FROM golang:1.19 as detector
 ---> 80b76a6c918c
Step 2/6 : RUN git clone -q https://github.com/dekobon/distro-detect.git &&     cd distro-detect &&     git checkout -q 5f5b9c724b9d9a117732d2a4292e6288905734e1 &&     CGO_ENABLED=0 go build .
 ---> Using cache
 ---> 20d249e22f49
Step 3/6 : FROM ghcr.io/autowarefoundation/autoware-universe:humble-latest-prebuilt
no more output and success not detected
Failed to build detector image
WARNING unable to detect os for base image 'ghcr.io/autowarefoundation/autoware-universe:humble-latest-prebuilt', maybe the base image does not exist

Versions

ros2 humble, ubuntu 22

Possible causes

The error messages suggest that the image might not exist or that there is an issue with detecting the operating system of the base image.

Additional context

No response

@idorobotics idorobotics added the type:bug Software flaws or errors. label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Software flaws or errors.
Projects
None yet
Development

No branches or pull requests

2 participants