containers / build

another build tool for container images (archived, see https://github.com/rkt/rkt/issues/4024)
Apache License 2.0
342 stars 80 forks source link

'Error: overlayfs not supported on your system' with LXD Container #321

Closed justinnoor closed 7 years ago

justinnoor commented 7 years ago

Is it possible to build and run rkt images inside of an LXD container (for development purposes)? LXD does not support overlayfs according to lxd/lxc issue #1878.

To no surprise, when I attempt build an image with acbuild I get the following error:

overlayfs is not supported on your system

My lxd container uses kernel version 4.4. I'm using the acbuild build-nodejs.sh example file.

It appears that there was a squash command built for this issue, as stated in #18, but I don't see that command in acbuild version v0.4.0. I tried anyways and it didn't work.

Any thoughts?

Kuchiriel commented 6 years ago

Solved?

justinnoor commented 6 years ago

No. This was a previous attempt to try out RKT. I will say politely that RKT is messy, poorly documented, and has an unresponsive community, therefore, I decided against it. I'm actually using systemd-nspawn now. Also Docker is much more user friendly and has great documentation in comparison to RKT.

Kuchiriel commented 6 years ago

Upgrade and rebuild the kernel, restart computer then try again. For me it works. But I agree with you, I don't like monopolies not unix-like like Docker, but rkt is far from usable from the documentation perspective. :/

justinnoor commented 6 years ago

Glad it worked for you. I probably won't try RKT again hah. Good luck and thanks for reaching out.