I’m on Ubuntu, and I’d like to completely remove everything related to Seafile docker, and start from scratch.
I tried the following, but /opt/seafile-data/nginx/conf/ is empty.
docker-compose down
sudo rm -rf /opt/seafile*
sudo rm -rf /opt/container*
docker-compose rm -v -f
docker-compose up
Thanks for your help!
This worked for me.
Warning: It’ll remove all the containers.
docker rm $(docker ps --filter=status=exited --filter=status=created -q)
Hi,
I try for the first time to install Seafile with Docker. never really used docker before.
I don’t want to complain about the manual, since a first time is always requiring some debugging.
I would like to start over with the installtion as well though.
When i use the command line from above, I get this error:
sudo docker rm $(docker ps --filter=status=exited --filter=status=created -q)
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.47/containers/json?filters=%7B%22status%22%3A%7B%22created%22%3Atrue%2C%22exited%22%3Atrue%7D%7D": dial unix /var/run/docker.sock: connect: permission denied
"docker rm" requires at least 1 argument.
Does someone know what to do, since I already run it with sudo?