• fmstrat@lemmy.nowsci.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    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 [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@rollenspiel.forumOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      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