Skip to content
Kyle Falconer edited this page Jan 5, 2017 · 1 revision

When working on the S3 server and creating new docker containers, keep an eye on the available disk space.

df -h

To clean up the docker environment, removing all the containers and images (which can take up a fair amount of space),

#!/bin/bash
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
Clone this wiki locally