Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start container id is not within id (ids are the same) #247

Closed
pmlopes opened this issue Jun 10, 2014 · 2 comments
Closed

Cannot start container id is not within id (ids are the same) #247

pmlopes opened this issue Jun 10, 2014 · 2 comments

Comments

@pmlopes
Copy link

pmlopes commented Jun 10, 2014

Recreating resources_db_1...
Cannot start container fc92a8344af94a2697da22c7b6285935157e807fbdc8e7591d85e84fe49f5017: /var/lib/docker/aufs/mnt/fc92a8344af94a2697da22c7b6285935157e807fbdc8e7591d85e84fe49f5017 is not within /var/lib/docker/aufs/mnt/fc92a8344af94a2697da22c7b6285935157e807fbdc8e7591d85e84fe49f5017

I am just trying to setup a postgresql container and share the /var/lib/postgresql (the data) with the host so the data in the db survives restarts.

I've used this docker file:

https://github.com/stigi/dockerfile-postgresql

But replaced the dockyard with the ubuntu packages.

@pmlopes
Copy link
Author

pmlopes commented Jun 10, 2014

Sorry, my bad forgot a - in the yaml file:

volumes:
  .:/var/lib/postgresql

instead of

volumes:
  - .:/var/lib/postgresql

@pmlopes pmlopes closed this as completed Jun 10, 2014
@bfirsh
Copy link

bfirsh commented Jun 10, 2014

Yep. Sorry about that, we should have given you a better error message: #129

xulike666 pushed a commit to xulike666/compose that referenced this issue Jan 19, 2017
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants