You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.
Hi I followed your README steps but got the error below on MacOS 10.14.6:
➜ docker container run \
--cap-add=NET_ADMIN \
--device=/dev/ppp \
--rm \
-v /config:/etc/openfortivpn/config:ro \
myon/fortivpn-socks5
docker: Error response from daemon: Mounts denied:
The path /config
is not shared from OS X and is not known to Docker.
You can configure shared paths from Docker -> Preferences... -> File Sharing.
See https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.
.
ERRO[0000] error waiting for container: context canceled
My config file is in the same directory as where I ran the docker run command.
Can you please help me take a look?
The text was updated successfully, but these errors were encountered:
Please try -v $PWD/config:/etc/openfortivpn/config:ro instead of -v /config:/etc/openfortivpn/config:ro. If the error still occurs, this documentation (https://docs.docker.com/docker-for-mac/#file-sharing) may help you.
By the way, I have never tested it on the macOS before. Could you please let me know the results?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi I followed your README steps but got the error below on MacOS 10.14.6:
My
config
file is in the same directory as where I ran thedocker run
command.Can you please help me take a look?
The text was updated successfully, but these errors were encountered: