-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Nomad exec driver does not support rootfs root partition #7136
Comments
Hi @th0m! Thanks for opening this issue. I'm really curious to hear what you're doing with Nomad that you're running it from a rootfs! As far as the feature request goes, that sounds reasonable. It looks like the underlying runc library supports this with the |
Hi @tgross thanks for the quick reply. About the rootfs, nothing fancy, just running Nomad on mostly stateless machines :) If that sounds reasonable to you, I'll start working on a PR then! |
Great! Looking forward to seeing the PR! 😀 |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
Nomad v0.10.2
Operating system and Environment details
Debian Stretch
Root partition is a rootfs (ramdisk)
Issue
Any job using the
exec
driver fails to start which I believe becausepivot_root
does not work when the root partition is a ramdisk, seeman 2 pivot_root
I think Docker addressed this issue with the
DOCKER_RAMDISK
env variable which essentially disablespivot_root
. I think what I need here is a way to disablepivot_root
, probably as a configuration variable in theexec
driver.Reproduction steps
exec
driverJob file (if appropriate)
Nomad Client logs (if appropriate)
The text was updated successfully, but these errors were encountered: