Skip to Content

Docker Issues

Docker Not Running

sudo systemctl start docker sudo systemctl enable docker

Permission Denied

If you get permission errors:

sudo usermod -aG docker $USER # Log out and back in for changes to take effect

Disk Space Full

Docker images and volumes can consume significant space:

# Check Docker disk usage docker system df # Remove unused images and containers docker system prune -a

docker system prune -a will remove all unused images. Only run this if you’re comfortable re-downloading images.

Container Won’t Stop

# Force stop a container docker kill <container-id> # Force remove docker rm -f <container-id>
Last updated on