There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

[Solved] Docker Compose Issue with Stale Data on Startup

Hello everyone,

I’m sure there are a few people here who are fitter in than I am. Currently I have the problem that when starting the docker-compose the latest data is probably not used although the local copy of the repo is up to date.

Does anyone have an idea?

codeberg.org/…/docker-compose_prod.yaml

I came across the problem because of this issue and that it is not up to date because of this issue.

fmstrat ,

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 [container]; docker rm [container]) if not using docker compose down . If you don’t remove the container, it will keep using the old image.

Tealk OP , (edited )
@Tealk@rollenspiel.forum avatar

I always thought that a docker-compose up -d also builds a new image. But apparently I have to run docker-compose up --build -d. thanks for the help

citizen ,

Have you tried clearing build cache? That docker compose has build init and web containers. Latest version docker compose have —no-cache option

docs.docker.com/engine/…/compose_build/

There is also prune command

docs.docker.com/engine/…/builder_prune/

Tealk OP ,
@Tealk@rollenspiel.forum avatar

thanks for the help, that put me on the right track, apparently an old image was used.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines