Docker Commands
On the command line, based on the action you want to perform, you can enter one or more Docker commands for the plug-in applications.
Action | Commands |
---|---|
To note the container ID | docker ps container ID
|
To stop the running container | docker stop container ID
|
To remove the running container | docker rm container ID
|
To clear the system of all Docker images and to regain some disk space (removes all unused images, containers, cache contents, and so on.) | docker system prune -a |
To check that all old images and containers are removed | docker ps docker images |