-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Create a socket for docker/docker Go API usage #4499
Comments
hang tight and keep your eye on our repository. |
The same problem with https://buildpacks.io/
May greatly simplify getting |
If you guys would like to contribute, take a look at |
What to look at? Is it some sort of |
No this is Podman implementing the Docker API. |
I thought that |
There'll be more details in the future, but this is and will continue to be entirely separate from the Varlink API. |
A friendly reminder that this issue had no activity for 30 days. |
The API server has merged into master, so we are a lot closer on this. Should have stuff you can play with in next couple of weeks on master branch. |
I think you can begin to playu with it now. Keep in mind it is very much unstable |
Can I somehow use this to create a podman socket where "legacy" docker applications can listen on? I found this tutorial on setting up a varlink socket but it's incompatible or rather not a plug-in replacement to EDIT: Ooooh, I think I get it. There's support for an API server component in |
|
The podman-docker package should be creating a link between the two sockets, at least that is what is supposed to happen. ln -s /run/podman.sock /run/docker.sock |
I am trying to use 3rd party utility that uses Docker socket. But running
How is it supposed to work? |
Podman service is created at /var/run/podman.sock (/run/podman.sock) If you install podman-docker, it is supposed to create this link automatically, although I have not confirmed. |
did you run as root? else you would have to look closer at whatever error messages it gave. you can also curl the endpoint. |
@baude run @rhatdan there is no
|
Probably at |
@mheon path appears only when
The socket is not accessible without
|
I think that, when run without root, we make a socket somewhere in |
(The intention is that, if you want to run Podman rootless with the API, the service will also be running without root, on a separate socket than root) |
That would be pretty great! Could you tell me where the code for this feature is exactly? I don't really "get" the code yet. |
|
Yes we definitely do NOT want /run/podman/podman.sock to be available to anything other then root. This would open a Huge security hole if this is is available to non root users. |
The man page says it all. Yo might need to add the ˋ-tˋ parameter. |
@yajo the man page specified invalid number of slashes - it should be Maybe |
The full example how to redirect Docker API application to
The command above fails, but connection to |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
gitlab-runner tries to call to docker using the socket HTTP API. This does not work on CentOS 8 because podman-docker doesn't expose that API. I think a simple daemon that set up the socket and listened for the API calls and turned them into
podman
commands to run would suffice.Steps to reproduce the issue:
Describe the results you expected:
podman-docker
should also support the socket communication.Output of
podman version
:Additional environment details (AWS, VirtualBox, physical, etc.):
Physical CentOS8 host.
The text was updated successfully, but these errors were encountered: