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

Volumes fail after docker service is restarted #674

Closed
zorba-the-geek opened this issue Nov 25, 2014 · 1 comment
Closed

Volumes fail after docker service is restarted #674

zorba-the-geek opened this issue Nov 25, 2014 · 1 comment

Comments

@zorba-the-geek
Copy link

Not sure if this is #637 or not.
My fig.yml has a basic volumes: directive:

    volumes:
    - localfolder:/var/www/html

When I run fig up, the containers get created and I can see the volumes are linked correctly with docker inspect.
Then, if I run fig stop, fig up, it continues to work.
However if I run fig stop, service docker restart, then fig up, the Volumes are lost.
docker inspect looks like:

"Volumes": {
        "/var/www/html": "/var/lib/docker/vfs/dir/638d9c6bbeb312d7a6c40358524cb67f117c665f025e18743f49989f964e5ae6"
    },

instead of "/var/www/html": "/path/to/localfolder"

@zorba-the-geek
Copy link
Author

This is the same as #622 , missed that one in searching.

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