osrf / rocker

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

It's stopped docker pull on Ubuntu 24.04 #280

Open NakanishiKM opened 2 weeks ago

NakanishiKM commented 2 weeks ago

I conveniently using rocker everyday.

This time occur problems rocker command after host machine was upgraded Ubuntu 24.04.

  1. The rocker command could not be executed in Ubuntu 24.04's default version Python 3.12.3, due to version issues of related packages.

    rocker: error: DependencyMissing encountered: Docker Client failed to connect to docker daemon. Please verify that docker is installed and running. As well as that you have permission to access the docker daemon. This is usually by being a member of the docker group. The underlying error was: """ Error while fetching server API version: HTTPConnection.request() got an unexpected keyword argument 'chunked' """

    Its problem can be solved, using pyenv(example python 3.10.x).

  2. There is no stdout where step is image pull(example 'FROM golang:1.19 as detector') by rocker on pyenv. That time nothing some error log, and if there are image cash, proceed.

I don't know cause, but I shared to temporary workaround.

tfoote commented 5 days ago

That sounds like the upgrade might not have upgraded rocker and you possibly have cached dependencies on the older version of python in possibly a pyc file, or your upgrade changed the default version of python but didn't install all the dependencies in the new version of python.

How did you install rocker?

NakanishiKM commented 5 days ago

Thank you for your reply.

In correctly I did clean install Ubuntu 24.04, so I think that there are no dependencies. For the default python, I installed both apt and pip to check, and for pyenv I installed rocker by pip.