#90DaysOfDevOps Challenge-Day 16 Tasks
Today's task is all about running commands involved in simple operations that can be used to manage images and containers.
docker run:
command is used to start a new container from a docker image. The docker run hello-world
command will start a new container using the hello-world
Docker image.
docker inspect
: command is used to obtain detailed information about Docker objects, such as containers, images, volumes, networks, etc. This command gives a wealth of information in a JSON format, offering insights into various configuration details and settings for the specified Docker object.
docker port
: command is used to list the port mappings for a container.
docker stats
: command is used to list the port mappings for a container. It provides real-time information about CPU, memory, disk I/O, network I/O, and other resource usage of running container(s).
docker top
: command is used to view the processes running inside a container.
docker save
: command is used to save an image to a tar archive.
docker load
: command is used to load an image from a tar archive.