Open copumpkin opened 8 years ago
The closest active effort to this right now is: https://github.com/projectatomic/atomic/issues/298
Which is currently using runc and not nspawn, though any architectural issues would be similar between the two.
Hmm, I'm trying to disentangle that ticket from all the Docker/Etcd/Flannel stuff, which I don't use at all. All I'm looking for is a simple way to boot an OSTree tree in detached namespaces from the host. Does that still do what I need? I've experimented with runc
but it doesn't appear to boot my tree (just seems to "hang" on init), so I stuck to systemd-nspawn
for now.
From an IRC conversation on the topic:
In my case, adding the
--bind /tmp:/sysroot/tmp
doesn't seem to help the container boot (systemd-nspawn
just gives an opaque error and exits) but if I manually remove/tmp
from the tree it boots up properly.I then run into issues with private networking, but that probably has more to do with the tree I'm using
rpm-ostree
to build than raw OSTree.