sajad torkamani

In a nutshell

This is what happens when you run docker run <some-image>:

  • Image check: Docker checks if the image is available locally. If not, it pulls it from a remote registry such as Docker Hub.
  • Create container: Docker creates a container using the specified image.
  • Setup environment: Set up networking and environment variables.
  • Execute container: The container’s entry point or image command determines what executable or script is run inside the container.

Tagged: Docker