Public bug reported:

In docker 26 field ContainerConfig is removed 
https://docs.docker.com/engine/deprecated/#container-and-containerconfig-fields-in-image-inspect
and if I try to use this docker-compose file:

version: "3"
services:
  hello_world:
    image: hello-world
    environment:
      ENV1: "val1"

Create container:
docker-compose up -d

Try to change config of container, e.g.

version: "3"
services:
  hello_world:
    image: hello-world
    environment:
      ENV1: "val2"

And try to reconfig container:
docker-compose up -d

I got error:
docker-compose up -d
Recreating root_hello_world_1 ... 

ERROR: for root_hello_world_1  'ContainerConfig'

ERROR: for hello_world  'ContainerConfig'

I use software that use old docker-compose and unable to use compose v2

** Affects: docker-compose (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2096908

Title:
  docker-compose broken with docker.io 26.1.3-0ubuntu1~22.04.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/docker-compose/+bug/2096908/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to