Hence I don't think the container approach is worth the effort when requiring shutdown capabilities. So I suppose this would need addition of several extra scripts or similar modifications to the guest agent container to make it work, deviating significantly from the premise of a simple setup via the container. by having systemd available inside the container and mounting appropriate sockets from the host, or via SysRq, see also for some hints). I'd say shutting down the host from within a container is an interesting task in general, although possible in general it usually requires some extra tricks (e.g. This is not available in a standard container. The reasons is probably the way the feature is implemented in the agent itself, as it tries to call /sbin/shutdown ( ). None of the listed fixes are sufficient to provide a complete solution, as shutdown is still not possible from within the container - the agent simply does not crash or complain anymore, but it hangs upon requesting a shutdown. Podman run -privileged -rm -pid=host -ipc=host -net=host -v /dev:/dev -it linuxkit/qemu-ga:v0.7 /usr/bin/qemu-ga -m virtio-serialĪny suggestions for what I could do to make this work?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |