In this post I will detail the steps on how to delete Netbox.
My use case is for lab use and it’s not typically something you would want to do with your production Netbox!
1. Navigate to your Netbox installation folder
cd /path/to/netbox-docker
2. Stop and remove containers
docker-compose down
If you want to remove volumes as well (which deletes database and persistent data)
docker-compose down -v
3. Remove Images (optional)
It is not required but if you want to free up some space you can delete the Netbox image
docker images | grep netbox
Then:
docker images rmi <image-id>
4. Remove Volumes Manually (if needed)
docker volume ls
Look for volumes named something like netbox-docker_postgres_data, then remove:
docker volume rm netbox-docker_postgres_data
NetBox should now be fully removed from your Docker environment.

Leave a Reply