Image keeps all necessary binaries and libraries to be able to run required application, it could be described in Dockerfile. When you start new container it’s created from this image. To effectively utilize hardware resources data in containers should be immutable. In other words containers shouldn’t keep data produced by application you run inside container. And volume is directory mounted to container which keeps mutable data. You can think of it as a shared folder in virtual machine
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Image keeps all necessary binaries and libraries to be able to run required application, it could be described in
Dockerfile
. When you start new container it’s created from this image. To effectively utilize hardware resources data in containers should be immutable. In other words containers shouldn’t keep data produced by application you run inside container. And volume is directory mounted to container which keeps mutable data. You can think of it as a shared folder in virtual machine