Skip to content

Rocker Docker Errors with python:3-slim-stretch - unable to detect os for base image #3470

Discussion options

You must be logged in to vote

The workaround for this issue:

  1. run rocker --nvidia --x11 --user --volume $HOME/autoware --volume $HOME/autoware_map -- ghcr.io/autowarefoundation/autoware-universe:latest-cuda like you normally do.
  2. see the error, then run docker run -it python:3-slim-stretch bash to go inside the container.
  3. run echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list to add the packages.
  4. Start a new tab in the terminal, run docker ps to obtain the "container id"
  5. run docker commit "container id" python:3-slim-stretch to overwrite the original python:3-slim-stretch image.
  6. run rocker --nvidia --x11 --user --volume $HOME/autoware --volume $HOME/autoware_map -- ghcr.io/autowarefoundati…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@xmfcx
Comment options

Answer selected by Croquembouche
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants