# Day 16 Task: 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.

1.Use the `docker run` command to start a new container and interact with it through the command line.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688316913780/e5d70464-500d-4e87-b95f-5cd36e8d548e.png align="center")

2.Use the `docker inspect` command to view detailed information about a container or image.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688317028865/4373d682-8c1c-47a3-abeb-1ce76907aed8.png align="center")

1. Use the `docker port` command to list the port mappings for a container.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688317273736/c6091893-fff1-4352-85e5-0b129aa021f1.png align="center")
    
2. 4.Use the `docker stats` command to view resource usage statistics for one or more containers.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688317378756/c378b916-15b8-4720-b1f8-0e5b75ed469e.png align="center")
    

5.Use the `docker top` command to view the processes running inside a container.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688317491256/42df7de0-0b1f-41a1-9298-03905e3d5cf6.png align="center")

1. Use the `docker save` command to save an image to a tar archive.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1688317688281/0ca5a2e7-bb79-4e40-bd41-4ca63f1a443a.png align="center")
    

Thank you
