Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] docker-compose 2.32 seems to recreate containers unnecessarily #12388

Closed
mvdstam opened this issue Dec 16, 2024 · 1 comment
Closed

[BUG] docker-compose 2.32 seems to recreate containers unnecessarily #12388

mvdstam opened this issue Dec 16, 2024 · 1 comment

Comments

@mvdstam
Copy link

mvdstam commented Dec 16, 2024

Description

After upgrading to docker-compose 2.32, I had connectivity issues with containers in several of my projects. It turned out that every docker-compose run command I ran, it seemded to recreate my mysql container (among others), thus not being able to even provision the database container since it kept being recreated.

Downgrading to 2.31 fixed this issue. Possible regression of #10068?

Steps To Reproduce

No response

Compose Version

2.32

Docker Environment

Client:
 Version:    27.3.1
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  0.19.2
    Path:     /usr/lib/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  2.31.0
    Path:     /usr/lib/docker/cli-plugins/docker-compose

Server:
 Containers: 17
  Running: 9
  Paused: 0
  Stopped: 8
 Images: 55
 Server Version: 27.3.1
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: true
  Native Overlay Diff: false
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 88aa2f531d6c2922003cc7929e51daf1c14caa0a.m
 runc version: 
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.12.4-arch1-1
 Operating System: Arch Linux
 OSType: linux
 Architecture: x86_64
 CPUs: 20
 Total Memory: 62.45GiB
 Name: arch-max-x1
 ID: a0149812-2566-4615-811b-0f3f0056ec8f
 Docker Root Dir: /home/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled

Anything else?

No response

@jmarcet
Copy link

jmarcet commented Dec 16, 2024

It's been reported already. See #12383

@glours glours closed this as completed Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants