Comment on Docker Compose Issue with Stale Data on Startup
fmstrat@lemmy.nowsci.com 1 year ago
By data do you mean image?
If so, make sure you run a docker compose build
after pulling the repo, and also make sure you stop and remove the container. (docker stop && docker rm
if not using docker compose down
. If you don’t remove the container, it will keep using the old image.
Tealk@rollenspiel.forum 1 year ago
I always thought that a
docker-compose up -d
also builds a new image. But apparently I have to rundocker-compose up --build -d
.