Hi,
OS: ubuntu 20.04
This morning I just updated my docker stack via apt-get update
and moved from docker-ce from 5:25.0.5-1 to 5:26.0.0-1 (and similar updates for docker-ce-cli, docker-ce-rootless-extras), and docker-compose-plugin from 2.24.2-1 to 2.25.0-1. Presumably, these updates were published Yesterday, as reported by my package history.
Before the update, my docker-compose.yml
file was read and executed fine when running docker-compose up
Just after the update however, I got this error, which I managed to fix by reverting to the previous docker versions as described above:
ERROR: for 7800d92023e9_ghost-db 'ContainerConfig'
ERROR: for e2f4ce4be5d2_ping 'ContainerConfig'
ERROR: for ghost-db 'ContainerConfig'
ERROR: for ping 'ContainerConfig'
Traceback (most recent call last):
File "docker-compose", line 3, in <module>
File "compose/cli/main.py", line 81, in main
File "compose/cli/main.py", line 203, in perform_command
File "compose/metrics/decorator.py", line 18, in wrapper
File "compose/cli/main.py", line 1186, in up
File "compose/cli/main.py", line 1182, in up
File "compose/project.py", line 702, in up
File "compose/parallel.py", line 108, in parallel_execute
File "compose/parallel.py", line 206, in producer
File "compose/project.py", line 688, in do
File "compose/service.py", line 581, in execute_convergence_plan
File "compose/service.py", line 503, in _execute_convergence_recreate
File "compose/parallel.py", line 108, in parallel_execute
File "compose/parallel.py", line 206, in producer
File "compose/service.py", line 496, in recreate
File "compose/service.py", line 615, in recreate_container
File "compose/service.py", line 334, in create_container
File "compose/service.py", line 922, in _get_container_create_options
File "compose/service.py", line 962, in _build_container_volume_options
File "compose/service.py", line 1549, in merge_volume_bindings
File "compose/service.py", line 1579, in get_container_data_volumes
KeyError: 'ContainerConfig'
[9769] Failed to execute script docker-compose
NB: I did clean up all cached containers, even rebooted the machine for good measure. This seems to be a regression of some sort introduced in March 21st update of the docker stack.
Anybody has any thoughts about this?
Edit: possibly related => api: Deprecate `Container` and `ContainerConfig` for `/images/{id}/json` by vvoland · Pull Request #46939 · moby/moby · GitHub
Thanks a lot