Docker Container Related Commands


Doker run pulls the image directly from the docker hub. If it’s available locally, it uses it directly. There are two parameters – D – it, – D is a separate mode, – it is an interactive mode, and – D is more.

Docker pull pulls directly from the hub, images list all local mirrors, RMI deletes the mirrors.

Dockersps lists the currently running containers, and if you want to list those that are not running, add A-A directly.

Docker stop stops mirroring directly, RM is deleted.

Docker start runs from stop.

To batch, you can add $(docker ps-aq) at the end, but it must be PowerShell, CMD does not support special symbols.


If pulling is slow, you can configure it in the settings of Docker DeskTop.


Recommended Today

Detailed explanation of sshd service and service management command under Linux

sshd SSH is the abbreviation of secure shell, which is the security protocol of application layer. SSH is a reliable protocol which provides security for remote login session and other network services. SSH protocol can effectively prevent information leakage in the process of remote management. openssh-server Function: enable remote hosts to access the sshd service […]