Skip to content
This repository has been archived by the owner on Apr 17, 2021. It is now read-only.

Use autofs inside container #1

Open
tpdownes opened this issue Jun 8, 2018 · 1 comment
Open

Use autofs inside container #1

tpdownes opened this issue Jun 8, 2018 · 1 comment

Comments

@tpdownes
Copy link

tpdownes commented Jun 8, 2018

The present solutions manually create bindpoints inside the image and rely upon a startup CMD that mounts them one-by-one at container instantiation. A better solutions would be to use autofs. This will require the use of a container service solution like supervisord or dumb-init. Solution will more or less get rid of /etc/fstab and replace mount -a with the invocation of autofs.

@tpdownes
Copy link
Author

tpdownes commented Jun 8, 2018

P.S. I have vague memories that autofs inside a container on MacOS basically doesn't work because it's limited in fundamental ways by volume mounting in MacOS itself. A use case to test.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant