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

Docker ctl script isn't compatible with overlay2 installations #125

Closed
bstick12 opened this issue Dec 12, 2018 · 0 comments
Closed

Docker ctl script isn't compatible with overlay2 installations #125

bstick12 opened this issue Dec 12, 2018 · 0 comments

Comments

@bstick12
Copy link

@bstick12 bstick12 commented Dec 12, 2018

The docker ctl script attempts to umount overlay mounts but not overlay2 mounts.

I also see with the latest version that a new mount is created by docker at /var/vcap/store/docker/docker this needs to be umount as well.

If you deploy with a persistent volumes in AWS. When you don't umount the /var/vcap/store/docker/docker as part of the shutdown. BOSH will attempt to umount the device but since there are two mounts only one will be removed. This causes the recreate to fail.

worker/985839b3-cb45-4597-911b-0886c2f7b344:/var/vcap/sys# mount | grep xvdf1
/dev/xvdf1 on /var/vcap/store type ext4 (rw,relatime,data=ordered)
/dev/xvdf1 on /var/vcap/store/docker/docker type ext4 (rw,relatime,data=ordered)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant