-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert docker-compose files into Kubernetes YAML or .container
quadlet files
#9
Comments
I agree! However, maybe generating kubernetes pod yaml from a compose file would be a better fit? I guess it depends on if you want each container to be more separate with each having their own |
the main use case for docker-compose is that kubernetes is can be overly "heavy" so to speak for a simple container deployment eg just a webserver and a db. However I see the other side where someone may want to "translate" the compose to a k3s+podman deployment so maybe a flag to switch between the 2 modes? |
The other thing with podman pods is that all containers in a pod share a network and UID/GID namespace. From my understanding, the default network configuration for rootless podman is such that containers not in a pod can't communicate with each other unless they use the host's IP. So someone translating a docker-compose file into separate |
.container
quadlet files.
.container
quadlet files..container
quadlet files
Also, I've only been using docker/podman for about a year and only with my own small home lab. I haven't tried using k3s or anything very complicated, so please correct me if I say something wrong, or you have a different/better opinion. |
it would be very useful it podlet could convert compose files to quadlet files!
The text was updated successfully, but these errors were encountered: