Directory created instead of text files for container

  • Hi, I wanted to edit a text file to include my credentials for this docker https://hub.docker.com/r/andresvidal/openvpn-armv7l



    Code
    docker run -it --rm \
        --name vpn \
        --init \
        --cap-add=NET_ADMIN \
        --device /dev/net/tun \
        -v `pwd`/prod.surfshark.com.ovpn:/vpn/servers.ovpn \
        -v `pwd`/credentials.txt:/vpn/auth.txt \
        andresvidal/openvpn-armv7l --config /vpn/servers.ovpn --auth-user-pass /vpn/auth.txt

    However 'credentials.txt" it exist as directory instead of text file. Same goes to 'prod.surfshark.com.ovpn" file.May I know how should I fix this?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!