##Docker Basic Commands:
-------------------------
Instantiate a container using ‘docker container run ’ command and learn options and flags associated with
docker container run [OPTION1 OPTION2 … OPTIONn ] [ Image]:[TAG] [COMMAND] [
IMAGE : Docker
TAG : Run specific version of an
COMMAND : Command to run inside the
ARGUMENT : Arguments for the COMMAND.
##Run Container:
-----------------
docker run hello world
docker container run hello world ( Recommended way
docker run nginx
docker container run nginx ( Recommended way
##Run a container with COMMAND and ARGUMENT:
-----------------------------------------------
docker run busybox echo Hello Students!
echo: Command run inside the busybox container.
Hello Students!: Argument for the Command.
##List all containers (Running and stopped)
-------------------------------------------
docker ps a
a: All
##Remove a stopped container:
----------------------------
docker rm [Container ID]
Watch video 5. Docker Basic Commands Part 1 online without registration, duration hours minute second in high quality. This video was added by user iMustLearn 13 July 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 70 once and liked it 0 people.