Learn about Docker run command and it various useful flags. Also learn how to map a local drive to a Docker container, and finally give your Docker container a name.

The docker run command first creates a writeable container layer over the specified image, and then starts it using the specified command.

COMMAND USED IN THIS VIDEO
Creating And Running Container
docker run ubuntu:latest
docker run -it ubuntu:latest

Starting And Attaching To Console Session
What is Docker attach?
docker start CONTAINER_NAME
docker attach CONTAINER_NAME

Custom Container Name
How do I name my docker run?
docker run -it –name xynetTest ubuntu:latest

How to mount a host directory in a Docker container
How do I map a local drive to a Docker container
docker run -it –name xynetOne -v C:\temp:/aa ubuntu:latest

Reference