{"action":"created","issue":{"url":"https://api.github.com/repos/codekitchen/dinghy/issues/241","repository_url":"https://api.github.com/repos/codekitchen/dinghy","labels_url":"https://api.github.com/repos/codekitchen/dinghy/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/codekitchen/dinghy/issues/241/comments","events_url":"https://api.github.com/repos/codekitchen/dinghy/issues/241/events","html_url":"https://github.com/codekitchen/dinghy/issues/241","id":220438261,"number":241,"title":"Unable to mount files inside a container","user":{"login":"lhridley","id":153297,"avatar_url":"https://avatars0.githubusercontent.com/u/153297?v=4","gravatar_id":"","url":"https://api.github.com/users/lhridley","html_url":"https://github.com/lhridley","followers_url":"https://api.github.com/users/lhridley/followers","following_url":"https://api.github.com/users/lhridley/following{/other_user}","gists_url":"https://api.github.com/users/lhridley/gists{/gist_id}","starred_url":"https://api.github.com/users/lhridley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhridley/subscriptions","organizations_url":"https://api.github.com/users/lhridley/orgs","repos_url":"https://api.github.com/users/lhridley/repos","events_url":"https://api.github.com/users/lhridley/events{/privacy}","received_events_url":"https://api.github.com/users/lhridley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-04-09T00:51:41Z","updated_at":"2018-03-28T10:05:52Z","closed_at":null,"author_association":"NONE","body":"Before filing a new issue, be sure to check [the FAQ](https://github.com/codekitchen/dinghy/blob/master/FAQ.md) for answers to many common questions about Dinghy.\r\n\r\nI just installed Dinghy and attempted to start the docker containers  for an existing project using the existing docker-compose.yml file for the project.  In that .yml file I am mounting a configuration file over the existing configuration file in my nginx container.\r\n\r\nWhen attempting to launch the docker stack using Dinghy I get an error:\r\n\r\n`ERROR: for nginx  Cannot start service nginx: oci runtime error: container_linux.go:247: starting container process caused \"process_linux.go:359: container init caused \\\"rootfs_linux.go:54: mounting \\\\\\\"/Volumes/MyDigitalSSD/src/project/docker/nginx/project.conf\\\\\\\" to rootfs \\\\\\\"/mnt/sda1/var/lib/docker/aufs/mnt/b1f83ff3d82fb1d429d9a8a3495bd294c4af88d95d276e22e5fcb52bd3434894\\\\\\\" at \\\\\\\"/mnt/sda1/var/lib/docker/aufs/mnt/b1f83ff3d82fb1d429d9a8a3495bd294c4af88d95d276e22e5fcb52bd3434894/etc/nginx/conf.d/default.conf\\\\\\\" caused \\\\\\\"not a directory\\\\\\\"\\\"\"\r\n: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type\r\n`\r\n\r\nDoes Dinghy not support mounting files inside containers?  Are you limited to only mounting directories?"},"comment":{"url":"https://api.github.com/repos/codekitchen/dinghy/issues/comments/376832760","html_url":"https://github.com/codekitchen/dinghy/issues/241#issuecomment-376832760","issue_url":"https://api.github.com/repos/codekitchen/dinghy/issues/241","id":376832760,"user":{"login":"esdee-git","id":3163416,"avatar_url":"https://avatars3.githubusercontent.com/u/3163416?v=4","gravatar_id":"","url":"https://api.github.com/users/esdee-git","html_url":"https://github.com/esdee-git","followers_url":"https://api.github.com/users/esdee-git/followers","following_url":"https://api.github.com/users/esdee-git/following{/other_user}","gists_url":"https://api.github.com/users/esdee-git/gists{/gist_id}","starred_url":"https://api.github.com/users/esdee-git/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esdee-git/subscriptions","organizations_url":"https://api.github.com/users/esdee-git/orgs","repos_url":"https://api.github.com/users/esdee-git/repos","events_url":"https://api.github.com/users/esdee-git/events{/privacy}","received_events_url":"https://api.github.com/users/esdee-git/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T10:05:52Z","updated_at":"2018-03-28T10:05:52Z","author_association":"NONE","body":"@r3m0t 's tip worked for me; had the \"not a directory\" with rabbitmq's config files volume\r\n`docker-compose rm -v rabbitmq && docker-compose up rabbitmq` FTW"}}
{"actor":{"display_login":"esdee-git"}}