About this question
While practicing docker, I use this command for starting up a container:
$ docker run a8asd8f9asdf0This brings a question to my mind, "what the use of docker start?"
$ docker startWhile practicing docker, I use this command for starting up a container:
$ docker run a8asd8f9asdf0This brings a question to my mind, "what the use of docker start?"
$ docker startLog in to share your answer and help other learners.
Log in to answerBest Answer · By JanBask DevOps Expert
Answered on Jul 6, 2021
Here we have docker run vs start but to get a clear idea let's define both:
Start: This is used to startup a container that was previously stopped for whatever purpose.
for E.g. If you used docker stop CONTAINER_ID to stop a container,all you need to do is to use docker start CONTAINER_ID command to restart the previously stopped container and no data would be lost.
Run: This is used to create completely new containers using an image and then starting them up. You can create multiple replicas of the same image,
This is the command : docker run IMAGE_ID
Hope that helped:)
Note: Start will start any stopped containers. This includes freshly created containers. Run is a combination of creating and start. It creates the container and starts it.
Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.
Most-read guides across JanBask
Common DevOps interview questions, answered
Guides, tips and career advice on DevOps from JanBask experts.
DevOps How to Become a DevOps Engineers: Learning Path, Critical skills & More
Looking for answer to how to become a DevOps engineer in 2025? Here is the detailed article about DevOps career path, DevOps…
DevOps Top 50+ Jenkins Interview Questions And Answers For 2025
Here are the Top 50 Jenkins interview questions frequently asked in top MNCs which will help you land an ideal job! These…
DevOps Best 37 DevOps Tools To Learn And Master In 2025: Docker, Git & More
Want to know what are Devops tools and their uses? Or looking for the best DevOps list for automation, monitoring, & development?…
DevOps DevOps Engineer Job Description: Roles and Responsibilities [2025 Updated]
Discover the essential roles and responsibilities of a DevOps Engineer by exploring the detailed DevOps job description, and…