-
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
Set DOCKER_HOST in the VM #12066
Set DOCKER_HOST in the VM #12066
Conversation
c411142
to
980f482
Compare
[NO TESTS NEEDED] Signed-off-by: Matej Vasek <mvasek@redhat.com>
980f482
to
38c7838
Compare
@matejvasek : There is no need to set the DOCKER_SOCK, the default will still work. The
Currently it is copied to /etc/tmpfiles.d/podman-docker.conf instead of using the RPM: b3307bc The environment variable is used for rootless containers: (so user "core", not user "root") https://docs.docker.com/engine/security/rootless/#expose-docker-api-socket-through-ssh So that is the one you should configure, but the default socket doesn't need the variable. And of course this is only needed for compat socket,
|
@afbjorklund OK rootfull should work without setting the environment variable since the socket is at default location. But for rootless it's useful. And I believe this shouldn't hurt anybody because |
I am using a software that is mounting socket into running container. So I need the |
For rootfull it's not really issue if the symlink exists. |
I could move the script to |
@baude PTAL |
I would set it for both cases, LGTM |
LGTM too, but would like a @baude head nod |
@baude PTAL |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: matejvasek, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Some tools might expect the envvar is set.