-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Podman v2 doesn't work with podman-env #8596
Comments
Binaries are available here: https://github.com/containers/libpod/releases/tag/v1.9.3 The packages in kubic repositories unfortunately only have the latest-and-greatest |
I was trying again with podman 2.0.5, but now there is not even an error. $ podman-remote build .
$ It just fails silently... Trying to build over ssh (as a workaround) also fails $ tar cz . | minikube ssh -- "sudo podman build -"
ssh: Process exited with status 130 from signal INT EDIT: Same as in containers/podman#7498 |
The plan to replace sudo, is to make the socket owned by a local group: containers/podman#6809 (comment) And then make the default user part of this group (i..e same as for docker) mkdir -p /etc/systemd/system/podman.socket.d
cat >/etc/systemd/system/podman.socket.d/override.conf <<EOF
[Socket]
SocketMode=0660
SocketUser=root
SocketGroup=podman
EOF
systemctl daemon-reload
echo "d /run/podman 0770 root podman" > /etc/tmpfiles.d/podman.conf
systemd-tmpfiles --create Compare: https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user The original settings are in: /usr/lib/systemd/system/podman.socket [Unit]
Description=Podman API Socket
Documentation=man:podman-system-service(1)
[Socket]
ListenStream=%t/podman/podman.sock
SocketMode=0660
[Install]
WantedBy=sockets.target /usr/lib/tmpfiles.d/podman.conf d /run/podman 0700 root root |
https://podman.io/releases/2020/10/05/podman-release-v2.1.0.html Since then podman 2.1.1 has been released to fix some bugs in 2.1.0.... |
The new "podman-env" command works with both podman v1 and podman v2. It checks the presence of the "varlink" command, in order to choose protocol... |
If you want to build images using
podman
, you will have to use release 1.9.3The earlier releases (1.8.2) hangs, and the later releases (2.0.0) gives an error.
It should also be OK to use the 1.6.x releases, available in many distributions.
The "varlink" socket is not supported anymore, so need to change minikube for it.
https://podman.io/blogs/2020/08/01/deprecate-and-remove-varlink-notice.html
Original post: https://podman.io/blogs/2020/06/29/podman-v2-announce.html
The text was updated successfully, but these errors were encountered: