-
-
Notifications
You must be signed in to change notification settings - Fork 466
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
Compatibility with podman #730
Comments
Interesting do you have any more details? |
@apocas Sure. Let me provide some additional Information. I was using dockerode for quite a long time in a JS + docker-based web application to create and interact with containers. I basically used dockerode to do things like create, start, stop, delete containers, but also to expose ports (so that docker/podman auto-allocate the port on the host, thus dynamic bindings) and configure environment variables, volume mappings and such during container creation. According to redhat, podman should be API compatible with docker, thus I tried creating containers via dockerode on a podman backend. I noticed that it works in general, except the issue, that no port is exposed on the created podman container. Thus it looks like some incompatibility at some point. Unfortunately I could not debug deeper. This might also be just one incompatibility with podman. |
Was going to try to swap to podman but came across this. Has this been resolved recently or is there still some work to be done on it? |
There are multiple projects using dockerode with podman, example: https://github.com/containers/podman-desktop/blob/main/package.json#L151 Not sure if this exact issue still exist nowadays :) |
Also couldn't manage to enable gpu support with podman through the docker api, as it seems to not do anything with |
Hi, this is rather a question or a feature request.
Are there plans to be podman compliant too? dockerode basically works with podman, except the port exposing of spawned containers. While using docker the containers have their ports open, in podman they don't (when creating using dockerode).
Best
The text was updated successfully, but these errors were encountered: