Delete old database? #364
-
|
This is probably more of a docker issue than a tuwunel issue, but I don't know where to ask these things in the docker community, so I'm starting here. I started a tuwunel instance in a docker and then realized that I forgot to set a couple of things and brought it down. One of the things that I changed is the server domain. Now every time I try to start up, it tells me that a database cannot be reused when the domain has been changed and to delete the old database. How do I delete the old database when the docker isn't running? I've probably missed something simple, it's always something simple. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Assuming you followed the instructions in the doco; The command; |
Beta Was this translation helpful? Give feedback.
Assuming you followed the instructions in the doco;
docker volume rm dbshould do it.The command;
docker run -d -p 8448:8008 \ -v db:/var/lib/tuwunel/ \ -e TUWUNEL_SERVER_NAME="your.server.name" \ -e TUWUNEL_ALLOW_REGISTRATION=false \ --name tuwunel $LINKResults in /var/lib/tuwunel (where the database resides) being mapped to a docker volume called "db", removing this volume will remove the database.