Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (47.6k points)

What are the differences between the ‘docker run’ and the ‘docker create’?

1 Answer

0 votes
by (106k points)

The “docker create” command used to create a writable container layer over the specified image and prepares it for running the specified command. The container ID is then printed to STDOUT. Where as docker run except the container which is never started. You can then use the docker start command to start the container at any point. This is useful when you want to set up a container configuration ahead of time so that it is ready to start when you need it. The initial status of the new container is created.

If you want to learn Docker then I would suggest you must take up the following Docker training course. You can also watch the following video tutorial on Docker to learn more about it.

Browse Categories

...