-
Notifications
You must be signed in to change notification settings - Fork 882
Document (and/or debug) launching rkt in rkt #2158
Comments
Just tested it: I start the outer rkt with:
Then, I start the inner rkt with:
It works with the following limitations:
|
didn't make it due to OCI/Fest activity |
from #2167:
|
Moving to next milestone |
If we mount /sys without the cgroup fs in /sys/fs/cgroup with #2680, we will need to document how to mount the cgroup fs in this issue. |
moving to next milestone, didn't make it due to other activities |
The outstanding issue (having |
#3245 is still WIP, hence bumping. |
rkt-in-rkt basically works using #3389, and systemd/systemd#4395 when invoked as follows:
It reveals the following process tree:
Overlay in the inner container doesn't work though (needs investigation). |
The proc, and sys mounts in the container now are as follows:
|
When running the container with overlay (aka overlayfs-over-overlayfs), I get the following error which needs investigation:
|
Regarding the overlay-over-overlay problem, I see the following kernel log entry:
The kernel docs https://www.kernel.org/doc/Documentation/filesystems/overlayfs.txt say:
Since There are several possibilities which work:
|
@s-urbaniak this is on a modern kernel? thought it was fixed in #1537 (which we call out in README.md) |
@jonboulle this is kernel |
i.e. the test from #1537 (comment) fails with the above message. |
Note that this is another error message "not supported as upperdir" vs. "No such device or address" |
OK, I suggest closing this out and adding a caveat + follow-up issue for nested overlay (also README note might need a tweak?) |
Addresses rkt#2158#issuecomment-261922975
Addresses rkt#2158#issuecomment-261922975
Should running rkt in a rkt container work in 1.19.0 with --no-overlay, now? I'm still running into a couple of different problems when trying it on CentOS 7 with kernel 4.8.9 (mlkernel from elrepo). I looked at the issues closed on the v1.20.0 milestone for actual code changes related to running rkt in rkt, but nothing stood out to indicate this shouldn't now work with 1.19.0. Based on @s-urbaniak's examples above (mainly specifying
If I use
|
@blalor The corresponding PR didn't land yet in |
@s-urbaniak but this issue is against 1.20.0? |
@jonboulle whoops, you are right, let me reassign this issue to v1.21.0, it is still pointing to the initial target release, and I will also create a follow-up issue regarding overlay. |
(Posted at the request of @alban ): There are several use cases for launching rkt containers inside of other rkt containers. While this is possible, there are potential pitfalls and configuration requirements for doing this successfully. It would be great if those pitfalls and requirements were documented, or if running rkt in rkt was explicitly supported or not supported by the project.
The text was updated successfully, but these errors were encountered: