1

Let's say I have a running Docker container X that is based on image foo.

If I pull a new version of foo, then stop and delete X, and then docker run foo - will it start the new version of the image?

Said differently - do I need to stop X before I can pull the new version of foo and then start it?

Context: Docker-EE on Windows Server 2016

Stephen Rauch
  • 245
  • 1
  • 3
  • 9
A X
  • 469
  • 4
  • 10
  • 31

1 Answers1

1

You can pull the new version of the image without stopping the original. Docker does not see them as the same image as their layer hashes will differ.

Stephen Rauch
  • 245
  • 1
  • 3
  • 9