• +91 9723535972
  • info@interviewmaterial.com

Docker Interview Questions and Answers

Related Subjects

Question - How do you create a docker container from an image?

Answer -

Pull an image from docker repository with the above command and run it to create a container. Use the following command:

$ docker run -it -d

Most probably the next question would be, what does the ā€˜-dā€™ flag mean in the command?

-d means the container needs to start in the detached mode. Explain a little about the detach mode. Have a look at this blog to get a better understanding of different docker commands.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners