Skip to content

Docker commands

While starting, stopping and evaluating CEDAR Docker, you could meet issues with the Docker images and containers.

Sometimes you could need to delete Docker resources (volumes, images, containers) in order to create/build them again.

To do so, we have a set of utility scripts that can help you:

Docker Containers

List the containers using:

docker ps -a

Remove the CEDAR-related containers using:

cedarcli docker remove containers

Docker Volumes

List the volumes using:

docker volume list 

Remove the CEDAR-related volumes using:

cedarcli docker remove volumes 

Or remove them one-by-one:

docker volume rm <volume_name>

Docker Images

List the images using:

docker images

Remove the CEDAR-related images using:

cedarcli docker remove images

Docker Networks

List the networks using:

docker network list

Remove the CEDAR network using:

cedarcli docker remove network 

Remove all CEDAR from Docker using:

cedarcli docker remove all