{"action":"created","issue":{"url":"https://api.github.com/repos/michaelsauter/crane/issues/161","labels_url":"https://api.github.com/repos/michaelsauter/crane/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/michaelsauter/crane/issues/161/comments","events_url":"https://api.github.com/repos/michaelsauter/crane/issues/161/events","html_url":"https://github.com/michaelsauter/crane/issues/161","id":62792575,"number":161,"title":"Error with dependencies when lifting a specific container","user":{"login":"adrianhurt","id":1089650,"avatar_url":"https://avatars.githubusercontent.com/u/1089650?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianhurt","html_url":"https://github.com/adrianhurt","followers_url":"https://api.github.com/users/adrianhurt/followers","following_url":"https://api.github.com/users/adrianhurt/following{/other_user}","gists_url":"https://api.github.com/users/adrianhurt/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianhurt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianhurt/subscriptions","organizations_url":"https://api.github.com/users/adrianhurt/orgs","repos_url":"https://api.github.com/users/adrianhurt/repos","events_url":"https://api.github.com/users/adrianhurt/events{/privacy}","received_events_url":"https://api.github.com/users/adrianhurt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-18T20:34:17Z","updated_at":"2015-03-18T20:41:19Z","closed_at":null,"body":"Hi, I'm new to Crane and I don't know if I'm missing something or it's a bug, but having this config file:\r\n\r\n```\r\ncontainers:\r\n  mysql-storage:\r\n    image: ubuntu:14.04\r\n    run:\r\n      volume: [\"/var/lib/mysql\"]\r\n      detach: true\r\n  mysql:\r\n    image: mysql\r\n    run:\r\n      volumes-from: [\"mysql-storage\"]\r\n      publish: [\"3306\"]\r\n      env:\r\n        - MYSQL_ROOT_PASSWORD=rootpass\r\n        - MYSQL_DATABASE=test\r\n      detach: true\r\n  mysql-backup:\r\n    image: mysql-backup\r\n    dockerfile: mysql-backup\r\n    run:\r\n      link: [\"mysql:mysql\"]\r\n      volume: [\"/mysql/backups:/mysql/backups\"]\r\n      env:\r\n        - MYSQL_USER=root\r\n        - MYSQL_PASSWORD=rootpass\r\n        - MYSQL_DATABASE=test\r\n      detach: true\r\n\r\ngroups:\r\n  mysql-group: [\"mysql-storage\", \"mysql\", \"mysql-backup\"]\r\n```\r\n\r\nWhen I run `crane lift` or `crane lift mysql-group` everything works perfectly, but it doesn't directly through the containers with `crane lift mysql-backup` nor `crane lift mysql`. I get the error:\r\n```\r\nERROR: Dependencies for container(s) mysql-backup could not be resolved. Check for cyclic or missing dependencies, or use -d/--cascade-dependencies to automatically attempt to recursively include dependencies in the set of targeted containers.\r\n```"},"comment":{"url":"https://api.github.com/repos/michaelsauter/crane/issues/comments/83162666","html_url":"https://github.com/michaelsauter/crane/issues/161#issuecomment-83162666","issue_url":"https://api.github.com/repos/michaelsauter/crane/issues/161","id":83162666,"user":{"login":"adrianhurt","id":1089650,"avatar_url":"https://avatars.githubusercontent.com/u/1089650?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianhurt","html_url":"https://github.com/adrianhurt","followers_url":"https://api.github.com/users/adrianhurt/followers","following_url":"https://api.github.com/users/adrianhurt/following{/other_user}","gists_url":"https://api.github.com/users/adrianhurt/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianhurt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianhurt/subscriptions","organizations_url":"https://api.github.com/users/adrianhurt/orgs","repos_url":"https://api.github.com/users/adrianhurt/repos","events_url":"https://api.github.com/users/adrianhurt/events{/privacy}","received_events_url":"https://api.github.com/users/adrianhurt/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T20:41:19Z","updated_at":"2015-03-18T20:41:19Z","body":"I've just re-read the readme and I've seen the flag `--cascade-dependencies`. With it as `all` it works, and I see that the `crane lift` help suggest that this flag is `none` as default. So maybe it has `none` as default while targeting containers and `all` for the rest. It's a bit confusing."}}