Skip to content

Instantly share code, notes, and snippets.

@antongorshkov
Last active April 16, 2016 18:30
Show Gist options
  • Save antongorshkov/3dbaccf5e1b0e936da74d9823780f521 to your computer and use it in GitHub Desktop.
Save antongorshkov/3dbaccf5e1b0e936da74d9823780f521 to your computer and use it in GitHub Desktop.
Remove space used:
docker ps -a
docker rm < <IMAGE_NAME>
docker volume ls
docker volume rm <VOLUME_NAME>
sudo service docker stop
sudo rm -rf /var/lib/docker
sudo service docker start
sudo du -h | sort -h
df -h
bash to docker container:
sudo docker exec -i -t <CONTAINER_NAME_OR_ID> bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment