# 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.

# Tasks

As you have already installed docker in previous days tasks, now is the time to run Docker commands.

* Use the `docker run` command to start a new container and interact with it through the command line. \[Hint: docker run hello-world\]
    
* ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681130143679/880fdec2-1181-48b9-8964-e22f949d1620.png align="center")
    
    * Use the `docker inspect` command to view detailed information about a container or image.
        
        ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681130199417/c08cff39-ddff-4eb8-af5f-d1021b29009e.png align="center")
        
        Use the `docker port` command to list the port mappings for a container.
        
    * ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681130355961/e848c430-a90a-40a1-bb7b-f4de14a3dd53.png align="center")
        
        * Use the `docker stats` command to view resource usage statistics for one or more containers.
            
        
        ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681130419159/0bf6da3e-453f-4442-95fc-8e76f4e310da.png align="center")
        
        * Use the `docker top` command to view the processes running inside a container.
            
        
        ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681130479858/9cc1c20b-6c39-48a8-af78-68abbb46050e.png align="center")
        
        * Use the `docker save` command to save an image to a tar archive.
            
        
        ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681130689462/6c863455-62ea-4514-abcb-ccde047a9bbd.png align="center")
        
        * Use the `docker load` command to load an image from a tar archive.
            
        
        ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681130716460/bf89fa13-16ac-4a39-8fb8-89154bbb6a44.png align="center")
        
    
    Hope you like this blog. Please follow for more blogs like this.....
    
    Thank you.
