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.