-
-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't start with volume #184
Comments
Hello. I've encountered the same error.
In Dockerfile to bypass the error you probably can run this for your volume. |
I think you can mount it this way:
|
Possible temporary solution: Initialize the container without the persistent volume data:
Check the container id using the "docker ps" command
Use the "docker cp" to copy all the /opt/Dockovpn_data content
Now you should have something like "/download/Dockovpn_data" Now we can start the Dockovpn with the volume persistent data
|
Thank you, I solved it. |
Doesnt work with an empty volume.
Also doesnt work. Which makes sense, since the first compose file is the exact same as in the repo. But the idea of starting without a volume, getting the data from inside the container, and then adding the volume back works.
I have no idea about security, so this might be insecure as @misha-plus stated earlier. |
Trying to create a new container with an empty volume
docker logs:
docker inspect:
The text was updated successfully, but these errors were encountered: