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.