Questions tagged [podman]

22 questions
3
votes
1 answer

podman "The cgroupv2 manager is set to systemd but there is no systemd user session available" warning

Context I am using a Raspberry Pi running on Raspbian. I connect remotely using ssh. I want to use podman for building images and running containers, the exact same way I've done on my local machine. The installation of podman has been done the…
2
votes
1 answer

Podman error "no space left on device" even though there is space and tmpdir is set

I have a 150GB /docker partition mounted on a RHEL 8 VM and I have ran this command as root and also with a local user that has sudo: export TMPDIR=/docker to make Podman change its default tmpdir. However, upon import of a 54GB .tar we run into…
808mrb
  • 23
  • 1
  • 3
1
vote
1 answer

docker/podman issue when building in a golang:1.20 container

Anyone know why podman fails and docker works? podman: $ podman run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang:1.20 go build -v go: go.mod file not found in current directory or any parent directory; see 'go help modules' docker: $ sudo…
Nifle
  • 34,203
  • 26
  • 108
  • 137
1
vote
1 answer

Podman container port forwarding has issue with secondary NIC

My title may not be very clear I have a server running CentOS 8: eth0 connects to subnet 10.0.3.0/24, having IP 10.0.3.15 eth1 connects to subnet 10.0.103.0/24, having IP 10.0.103.15 As they have different gateways, I have IP rules: $ ip rule…
Phoenix
  • 111
  • 3
1
vote
0 answers

How do you remotely connect to a docker daemon on Windows WSL2 backend from another machine's docker client through a VPN?

I tried setting hosts array in the Docker Engine configuration (json) file inside the Docker Desktop interface. The VM did start successfully for 127.0.0.1. Tho Docker Desktop UI is stuck spinning after "Apply & Restart" button was pressed when set…
1
vote
1 answer

ping does not work on a rootless Ubuntu podman container on Fedora

While running a rootless Ubuntu image with podman on a Fedora host, ping fails with an "Operation not permitted" error. root@337e8ebdc287:/# ping google.com bash: /usr/bin/ping: Operation not permitted On alpine/fedora images, ping works $ podman…
epokhe
  • 111
  • 3
1
vote
1 answer

CentOS/RHEL user-systemd with network home directories

I'm trying to deploy podman user services in a corporate network environment where all Linux users have their home directories NFS-mounted from a common file server. I'm not sure how to have computer-specific user-level services when my user's…
iAdjunct
  • 1,632
  • 1
  • 16
  • 23
1
vote
1 answer

Does a reboot of Ubuntu cover all CA actions that an update-ca-certificates would do?

When I copy a new CA certificate, e.g., mycompany.crt into the directory /usr/local/share/ca-certificates, I have to do an update-ca-certificates in order to make this certificate known to the system. My question is: Is this command always necessary…
Joerg
  • 111
  • 3
1
vote
1 answer

Why does `sudo` fail in a simple container on Fedora 32?

I am scratching my head trying to figure this one out. Under a freshly installed Fedora 32, the following minimal container does not execute properly: FROM centos:7 RUN yum install -y sudo && yum clean all -y RUN useradd -m test RUN sudo -u test…
choeger
  • 111
  • 1
0
votes
0 answers

Utilizing Podman with Minikube, GUEST_PROVISION error, volume already exists, and more

I have a Kubernetes project using Minikube. Up until this point it has been using Docker as the driver. However, we have been directed to switch over and use Podman instead. The issue stems from what appears to be that Podman is still currently…
Michael
  • 153
  • 1
  • 1
  • 15
0
votes
1 answer

Podman gives warning >Failed to decode the keys ["configmaps"] from "/home/theuser/.config/containers/containers.conf<

I'm using Ubuntu 22.04.3 LTS and have the following version of podman (podman version): Version: 3.4.4 API Version: 3.4.4 Go Version: go1.18.1 Built: Thu Jan 1 01:00:00 1970 OS/Arch: linux/amd64 But invoking virtually any…
jmizv
  • 113
  • 1
  • 9
0
votes
1 answer

Error: qemu exited unexpectedly with Could not open edk2-aarch64-code : No such file or directory

After brew upgrade podman machine no longer works. podman machine start Starting machine "podman-machine-default" Waiting for VM ... Error: qemu exited unexpectedly with exit code 1, stderr: qemu-system-aarch64: -drive…
nelaaro
  • 13,149
  • 30
  • 84
  • 111
0
votes
0 answers

Podman push to quay results in "Requesting bearer token: invalid status code from registry 400 (Bad Request)"

I'm on Linux (RHEL8) trying to use podman to push to an internal quay registry, but I get an error about the "bearer token" when I execute the podman push, as shown below: podman login -u="quay_robot_username" -p="quay_robot_password"…
Dan
  • 101
  • 2
0
votes
0 answers

How to use a static ip address and a pod in podman-compose

I have all ready created a network test with subnet 10.2.5.0/16 and also have create a pod test for this compose setup. I was not able to find a way to define the pod. Anyway when I try to check the networking with the following part in…
zakadmin
  • 53
  • 4
0
votes
1 answer

static ip address rootless containers

Is there any possibilities of allocating custom internal static ip address for podman rootless containers. And then expose them securely to the public internet through reverse proxy without opening extra ports from the host.
1
2