I'm diving into self-hosting and I'm using a project setup from GitHub to run my applications. I've managed to get everything running, but I've hit a snag with port 443 and want to start from scratch so I can carefully document what I'm doing. I found some information online about removing containers and their associated volumes, and I even ran the command `docker system prune -a -f --volumes`. However, when I tried accessing my server at `ipaddress:81`, Nginx was still trying to load, which makes me think my previous setup is still lingering somehow. How do I fully reset or 'nuke' my Docker containers? Am I missing something in the process? By the way, I'm using Linux and I have Tailscale set up for this project, but I'm still new to containers.
2 Answers
If you're still seeing Nginx when accessing your IP, it might be worth checking your Docker networks. Sometimes, services can linger due to misconfigurations. You can list the networks using `docker network ls` and try removing any that look relevant to your old setup or that you don't need anymore. That could help fully clear things up.
Before pruning, make sure to stop all running containers. You might want to run `docker stop $(docker ps -a -q)` to stop them all first. After that, using `docker system prune -a -f --volumes` should help you clear everything out, including the volumes. If Nginx is still hanging around, you may also want to check if there are any lingering networks or unused Docker images that could be affecting your setup.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures