@jr-m4 Hello we tested with Podman, and I can confirm...
It works with Podman 
Also we rebased the branch on Xen Orchestra master, and added a Docker view in the tree view on the left side. Let us know what you think about this 
@jr-m4 Hello we tested with Podman, and I can confirm...

Also we rebased the branch on Xen Orchestra master, and added a Docker view in the tree view on the left side. Let us know what you think about this 
@jr-m4 I did not took time to test Podman yet. But we expect this to work. You'd have to expose a socket, like the docker daemon does. Probably systemctl enable --now podman.socket would be enough. More in this page https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/building_running_and_managing_containers/using-the-container-tools-api and this one https://docs.podman.io/en/latest/markdown/podman-system-service.1.html
@CAPS hey, many thanks for the kind words but you know it's not only me at all, we're a team (or many teams
).
Let me know if I can be of any assistance.
Yes, I'd like to know what you miss? I've got ideas like more visibility and management for images, volumes, or docker compose, or docker instance not running on XO VMs, or having docker enabled VMs and containers in the tree view, list of containers in all VMs etc. What do you think?
During a RPU, I need to have at least 2 non-paused CP VMs running or else the environment goes belly up.
This is a very good question about RPU and custom behavior for specific VMs. ping @julienXOvates
@acebmxer I would have said the logs depend on how you deployed XO. Basically it would be an error printed when you ran yarn start. But it depends if XO is started with systemd or something else. But as you found yourself the solution... this is not needed anymore for now.
I'll see if we can report an helpful message in XO. Something like "Cannot reach docker.sock. As you're running a RedHat like distro, ensure SELinux rules let sshd reach it. See this link for more... Etc."
Hello there,
I posted in another thread an experimental Docker containers integration, not for production, but good enough to test it, see
https://xcp-ng.org/forum/topic/12423/bringing-container-visibility-back-to-xo/9?_=1791618850567

@acebmxer Thanks for your very quick feedback, even more with screenshot
for the VM where the connection to the docker socket did not worked, are you sure the public ssh key corresponding to the private ssh key filled in the form is correctly deployed in the VM, to the corresponding ssh user? Do you have any logs from xo-server?
Hello,
I talked with colleagues, and the idea of sharing the docker socket from a VM to the XO VM would not be doable in the near future on XCP-ng 8.3 (ask @teddyastie if you want details, I remember only the conclusion
)
So I took a shortcut - XO <--> Docker - and pushed a quick experimental branch on github, docker-experimental, https://github.com/vatesfr/xen-orchestra/tree/docker-experimental
Warning, this is experimental. ( NOT PRODUCTION ready
)
Key points:
Here are a few screenshots:
Containers tab when connected to the docker socket

Same with side panel

Actions possible, stop/start, pause, restart, delete container:

Containers tab when no yet connected, with a form to fill:

To use this, follow official installation from sources but use this experimental branch instead of master.
Again, this is still experimental, comes with no official support.
We'd be interested to here what you think of this

https://github.com/vatesfr/xenorchestra-cloud-controller-manager/releases/tag/v1.2.0
Adds a new cloud-node-out-of-service controller that applies the node.kubernetes.io/out-of-service=nodeshutdown:NoExecute taint to the nodes whose Xen Orchestra VM is halted or has been deleted. More about this feature in the documentation or #90
Hello there,
Thanks a lot for raising the question and offering ideas to move forward @caps ! I would like to say that I really like the AI crafted screenshot provided 🤩
But, to be clear, the status as of today regarding Docker or other containers integration in XO/XCP-ng is that there is an item in the DevOps Tools team roadmap. The item is just to look and define what could be done (example update xscontainer, do something totally new, ...). Unfortunately this spike has a low priority and is not yet scheduled.
That being said, there is an active project, which is close to what you're asking. It's about a better integration of Kubernetes, including, cluster update, adding nodes, etc. More on this should come in the next months!
️
Also note that I am chatting with different people and teams in Vates about this thread and the Docker integration topic to see if we could do something.
Also last thing is that, the community is always welcome to build on top of our open source softwares. I am pretty sure that if someone would contribute a Xen Orchestra plugin to integrate Docker we would welcome this, and we could give tips and guidance. Like @teddyastie said, I'm not sure having Docker, Podman, related features in the guest agent would be something our colleagues would merge. But maybe the docker daemon socket could be kind of shared between VMs (I'm not sure at all this is possible and if possible how to do it). In the meantime exposing the docker daemon over network (with restrictions) to Xen Orchestra would be quick'n easy and I think safe enough if done carefully.
|
67
Posts
46
Reputation
|
|
3
Posts
1
Reputation
|