Skip to Content
🚀 We just launched! Please star us on Github!
DocumentationTroubleshooting

Troubleshooting

Full Docker Cleanup

If you encounter issues with Docker containers, images, or volumes and need to start fresh, you can perform a complete Docker cleanup. This will remove all containers, images, volumes, and custom networks.

⚠️

Warning: This will remove ALL Docker containers, images, and volumes on your system, not just Rybbit-related ones. Make sure you don’t have other important Docker containers running.

Steps for Complete Docker Cleanup

Remove your environment file

rm .env

Stop all running containers:

docker stop $(docker ps -q)

Remove all containers (both running and stopped):

docker rm -f $(docker ps -aq)

Remove all images:

docker rmi -f $(docker images -q)

Remove all volumes:

docker volume rm -f $(docker volume ls -q)

Remove all custom networks (preserves default networks):

docker network rm $(docker network ls | grep -v "bridge\|host\|none" | awk '{print $1}')

Alternative: Rybbit-Specific Cleanup

If you only want to clean up Rybbit-related Docker resources without affecting other containers, use these commands instead:

# Stop and remove Rybbit containers docker-compose down # Remove Rybbit images docker-compose down --rmi all # Remove Rybbit volumes (this will delete your data!) docker-compose down --volumes # Complete Rybbit cleanup docker-compose down --rmi all --volumes --remove-orphans

After Cleanup

Once you’ve completed the cleanup, you can restart Rybbit by following the setup instructions:

# Copy environment file cp .env.example .env # Edit .env with your configuration # Then start the services docker-compose up -d
Last updated on
Rybbit
Copyright 2025 © Rybbit.