Skip to content

Instantly share code, notes, and snippets.

@ajeetraina
Last active February 3, 2017 19:39
Show Gist options
  • Save ajeetraina/f6cd40c3a144269f7512edf836f24bdb to your computer and use it in GitHub Desktop.
Save ajeetraina/f6cd40c3a144269f7512edf836f24bdb to your computer and use it in GitHub Desktop.
Docker 1.13.0 on Apple Mac OS X Sierra
Running Multi-arch on Mac OS X
bash-3.2# docker run -d -v /prometheus.yml:/etc/prometheus/prometheus.yml ajeetraina/prometheus-armv7
Unable to find image 'ajeetraina/prometheus-armv7:latest' locally
latest: Pulling from ajeetraina/prometheus-armv7
125cacf2729a: Pull complete
a3ed95caeb02: Pull complete
441553076b27: Pull complete
cac898f3f2ae: Pull complete
aad39cd2f30d: Pull complete
f001b4b5c54d: Pull complete
281a4ecb7035: Pull complete
bc60a500943d: Pull complete
f7a1cb5545bb: Pull complete
40852a721253: Pull complete
d3d5a0234010: Pull complete
Digest: sha256:e50bff802356df0f75880064449d189879f23b1ce64c722bfd769da3cb2b0d26
Status: Downloaded newer image for ajeetraina/prometheus-armv7:latest
00eaf99bbb3537079fe74d0008045a0a25845d56dcba7b5a7316ad6b04770b7b
docker: Error response from daemon: Mounts denied:
The path /prometheus.yml
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment