Docker for DevOps Engineers
Docker
Docker is a software platform that allows you to build, test, and deploy applications quickly. Docker packages software into standardized units called containers that have everything the software needs to run including libraries, system tools, code, and runtime. Using Docker, you can quickly deploy and scale applications into any environment and know your code will run.
Docker Commands:
- docker run: Use the
docker runcommand to start a new container and interact with it through the command line.

- docker inspect: Use the
docker inspectcommand to view detailed information about a container or image.

docker port: Use the
docker portcommand to list the port mappings for a container.Eg: docker port CONTAINER [PRIVATE_PORT[/PROTO]]
docker stats: Use the
docker statscommand to view resource usage statistics for one or more containers.
