kubedock
kubedock copied to clipboard
Podman support
Problem Description
When trying to run podman on a host where I have started kubedock I get the following error
$ podman --remote --url "tcp://127.0.0.1:2475" run --name httpd -d -p 8080:8080 python python -m http.server 8080
Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM
Error: unable to connect to Podman socket: ping response was 404
And from kubedock logs
How to reproduce it
The issue can be reproduced on OpenShift Developer Sandbox (a Red Hat Developer account is required but it's free) using the following link: https://workspaces.openshift.com/f?url=https://github.com/l0rd/micronaut-sample
Video recording
https://user-images.githubusercontent.com/606959/232914999-8a171ca7-67ea-401c-83cf-a614d1f76c34.mp4
Initial work has been started where podman routes can be implemented here, adjacent to the docker api implementation.
Initial work has been started where podman routes can be implemented here, adjacent to the docker api implementation.
Amazing. I have been testing a simple podman run and the pod got created successfully. I have also tested with podman run -ti busybox and podman run -d -P httpd but the first didn't start and the second didn't expose any port (which is perfectly fine for an initial support).
I just released 0.11.0 which supports:
podman run(with port mappings and volumes, not interactive mode)podman ps(does not show mapped ports)podman exec(not interactive mode)podman cp(gives an error when copying from container to host, but did the actual copy)podman logs,inspect,kill,rm,wait,stop,start
Hi @joyrex2001
I noticed that 'podman generate kube' didn't work with kubedock. Kubedock logs showed 404, which suggests the feature is simply not implemented.
Since this GH issue is about general podman support, would it be OK to add "podman generate kube" requirement as part of this ticket?
@agiertli yes, makes sense to track it in this ticket (sorry for the late reply).
I just released 0.13.0, which means for podman support:
- added support for
podman execinteractive mode - added support for
podman restart - fixed
podman cperror - fixed
podman psports