autowarefoundation / autoware.universe

https://autowarefoundation.github.io/autoware.universe/
Apache License 2.0
988 stars 637 forks source link

Docker installation quick start Failed! #8700

Open soumya997 opened 1 month ago

soumya997 commented 1 month ago

Checklist

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

amadeuszsz commented 3 weeks ago

Docker container run via Rocker tool is deprecated. Please, check latest documentation.