Questions tagged [podman]
The podman tag has no usage guidance.
30 questions
0
votes
1
answer
58
views
Share groups with Podman containers
I'm having problems granting access of some directories to a specific container that are accessible by some groups that externally managed (LDAP).
When using podman run, I'm able to use the --groups-...
0
votes
0
answers
70
views
XDebug (V3) not stopping on break points using VSCODE + Podman
I first set up my XDebug on my Windows host just to make sure I am able to properly configure it and it worked and I was able to set break points in my code and it was stopped by XDebug.
I then wanted ...
0
votes
0
answers
10
views
What features do I lose by running containers via `podman run --in-pod=0`
I have Windows 10 WSL2, when I run containers I set export PODMAN_USERNS=keep-id, but it had no effect until I started running containers with --in-pod=0, can someone explain - what did I lose when I ...
0
votes
0
answers
92
views
How to change `podman machine init --image` to Ubuntu or other distribution?
I have Windows 10 WSL2, I install podman.
After installing - podman machine init, Fedora is always installed as default OS in podman
Because, in my opinion, the most stable option for starting the ...
0
votes
1
answer
252
views
/run/user/$UID directory not created after "su - user" while $XDG_RUNTIME_DIR is properly defined
Context
We are working on RHEL 8.5 with an applicative user 'userpodman' created specially for executing podman commands.
This user was created with the following set of commands:
[root@machine ~]$ ...
1
vote
0
answers
396
views
With Podman Desktop on Windows 10, I can't reach container from host when using host's domain name instead of localhost
I'm running Podman Desktop on Windows 10, and I have set up a container to run with port mapping 8080:80. The command I use to run the container is podman run --name test -dt -p 8080:80 docker.io/...
-2
votes
1
answer
584
views
How to delete remaining podman containers on Windows11?
THIS IS NOT A DUPLICATE!
STOP FLAGGING IT AS SUCH, IF YOU DIDN'T EVEN READ THE QUESTION!
NUMEROUS TOOLS SHOW THERE IS NO HANDLE LOCKING THE FILE BUT I CANNOT DELETE THE FILE ANYWAY. THAT IS THE ...
1
vote
1
answer
365
views
Firewalld port redirect to rootless podman container
I'm having a podman container running rootless on port 8080 and 8443. But I want to have access to them on port 80 and 443.
This is working quite well with firewalld and this command:
firewall-cmd \
...
0
votes
0
answers
239
views
Virtual Machine Platform (and possibly WSL also) not working with Podman
OS: Windows 10 Home (19045.4412)
I am trying to get Podman up and running to work with containers. Here is what it is showing me. I am focusing on the Virtual Machine Platform for now, and I will ...
0
votes
1
answer
137
views
Run Docker image without any root access
Think of yourself working on a managed Linux server, just using a normal user identity, without any way to use root at all.
Lazy and paranoid system administrators refuse to install any new packages.
...
0
votes
1
answer
1k
views
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 ...
0
votes
1
answer
946
views
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: ...
1
vote
1
answer
73
views
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 ...
1
vote
1
answer
1k
views
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: ...
1
vote
0
answers
475
views
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=&...
1
vote
0
answers
995
views
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 ...
1
vote
1
answer
944
views
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 ...
0
votes
1
answer
537
views
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 ...
5
votes
1
answer
4k
views
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.
...
0
votes
1
answer
850
views
Podman container not getting ip from macvlan DHCP, what is wrong with my config?
I'm not sure what I'm doing wrong. I know my DHCP server is running and working, I'm giving out IPs to other non-macvlan network devices... basically everything connecting to my wifi AP.
What's wrong ...
1
vote
0
answers
113
views
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 ...
0
votes
1
answer
3k
views
nginx container reverse proxy to other containers on podman
Can someone point me to a NGINX Reverse Proxy container how to for podman? Most of the docs I find are for docker. Ideally I would like Nginx to act as reverse proxy so I can have multiple contains on ...
3
votes
1
answer
18k
views
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. ...
3
votes
1
answer
9k
views
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 ...
3
votes
0
answers
1k
views
What is the difference between flatpak and OCI container systems?
Doesn't Flatpak and and OCI container systems like Docker, Podman and similar systems
encapsulate and distribute programs and it's dependencies independent from a Linux systems package management and
...
0
votes
1
answer
4k
views
Podman macvlan network error
Prerequisites
I am trying to migrate from docker to podman for production use of some containers. Some of my containers are in need to be assigned IP adresses from a DHCP server in my network, as such ...
1
vote
1
answer
818
views
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-...
1
vote
1
answer
2k
views
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.
...
0
votes
1
answer
2k
views
systemd - service stops again right after starting up - podman
I created an unit file, with the following lines to start-up a podman container. Unfortunately, right after starting up, journalctl -xe tells me service not needed, shutting down, service shuts down. ...
1
vote
1
answer
463
views
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 && ...