Coder Social home page Coder Social logo

Comments (5)

kevinejohn avatar kevinejohn commented on August 15, 2024

You skipped the first step

  • Create the $OVPN_DATA volume container, i.e. OVPN_DATA="ovpn-data"

    docker run --name $OVPN_DATA -v /etc/openvpn busybox
    

https://github.com/kylemanna/docker-openvpn/blob/master/README.md#quick-start

from docker-openvpn.

a1exus avatar a1exus commented on August 15, 2024

hmm, that's weird... I actually already did that step... if I skipped it, I wouldn't be able to VPN in before either, but I did... Something weird happened to my docker-machine, I logged in and I noticed docker service wasn't running, so I start it, however I wasn't able to start docker-openvpn container (due to missing volume container).

from docker-openvpn.

TheNomad11 avatar TheNomad11 commented on August 15, 2024

I have the same issue. When i run

docker run --volumes-from $OVPN_DATA --rm -p 443:1194/tcp --privileged kylemanna/openvpn ovpn_run --proto tcp

I get the error message:

docker: Error response from daemon: No such container: --rm.

although I had created the container

from docker-openvpn.

kylemanna avatar kylemanna commented on August 15, 2024

Read the answer from @kevinejohn. Your same issue as the same solution, set the environmental variable in your shell.

from docker-openvpn.

TheNomad11 avatar TheNomad11 commented on August 15, 2024

as a1exus I had done that step before
OVPN_DATA="ovpn-data"
docker run --name $OVPN_DATA -v /etc/openvpn busybox
and was able to run openvpn and use it. it's now when I need to change port or over to TCP that I run into this issue. Sorry, I am a newbie and in the learning phase, thanks for your patience

from docker-openvpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.