Skip to content
Back to template gallery
Docker
Docker

How to delete docker container

In this guilde you will learn how to delete a docker container using Docker Desktop app and from command line

IT & Engineering
6 steps 2 min Community template
1

List of containers

Opening Docker Desktop will display all the containers.

app.example.com
List of containers
2

Click the Delete button

Click the trash can icon in the Actions column of the container row to remove it.

app.example.com
Click the Delete button
3

Click the Delete forever button

Click the Delete forever button in the confirmation dialog to permanently remove the selected container.

app.example.com
Click the Delete forever button
4

Open terminal in power shell and write command "docker ps -a".

The command will list all the docker containers.

app.example.com
Open terminal in power shell and write command "docker ps -a".
5

Click the container ID text and copy it.

Click the container ID "c149b9c69a32" in the terminal output to select it for copying.

app.example.com
Click the container ID text and copy it.
6

Write command "docker rm container ID" to delete it.

Write command "docker rm container-id" copied in the previous step to delete it. After deleting write command "docker ps -a" to see that the docker container is deleted.

app.example.com
Write command "docker rm container ID" to delete it.

Make this walkthrough your own

Duplicate this template, swap in your own screens, and share it with your team. Free to start — no credit card.