If you have not installed docker on your system then refer to my blog on installation of docker heređź”—.
Now let's go further and run new commands and check with outputs.
Run
docker run
command is used to start a new container and interact with it through the command line.
Inspect
docker inspect
command is used to view detailed information about a container or image.
Port
docker port
command is used to list the port mappings for a container.
Stats
docker stats
command is used to view resource usage statistics for one or more containers.
Top
docker top
command is used to view the processes running inside a container.
Save
docker save
command is used to save an image to a tar archive.
Load
docker load
command is used to load an image from a tar archive.
Â