Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

[SOLVED] docker compose up recreates containers every time

$
0
0
(Cross-posted from the official Docker forums)

I’m running Docker CE version 23.0.1 on two different Ubuntu 22.04.1 machines and my daily routine is to run docker compose pull followed by docker compose up -d every morning manually because I like to see what’s going on. I’ve noticed that for the last week or so that docker compose up -d is recreating every container that has been updated recently, even if it recreated it previously.

My containers are running fine and everything is stable, but I wouldn’t expect this kind of behavior and I can’t find where anything has changed.

I was able to “clear” this issue yesterday by stopping all containers, running docker system prune -a, and then running docker compose up -d again, but today after a few containers were upgraded, I see the issue again:

Sample from one machine:
Code:

roddie@plex ~/docker% docker compose up -d
[+] Running 1/1
 ⠿ Container plex  Started                                                6.7s
roddie@plex ~/docker% docker compose up -d
[+] Running 1/1
 ⠿ Container plex  Started                                                7.0s

Thank you for any tips!

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>