Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [podman]

Podman is a daemonless container engine with a docker-compatible command line

Filter by
Sorted by
Tagged with
0 votes
1 answer
49 views

Podman "no route to host" when pushing to container registry with sudo, but works without sudo

I am encountering a problem with Podman on my system when I try to push images to a local registry. First, I start the registry container with sudo. $ sudo podman container run -dt -p 5000:5000 --name ...
Couim747's user avatar
0 votes
0 answers
26 views

Constructing a container without duplicating data on disk

For Reasons*, I'm using a container to distribute a versioned Windows virtual machine file, which is around 40G in size. I've got the following command: echo -e "FROM scratch\nADD VM_2024-05-...
LordAro's user avatar
  • 121
0 votes
0 answers
33 views

How to install Firefox in a RedHat UBI9 ubi-minimal container running on ARM

I have an image based on registry.access.redhat.com/ubi9-minimal running on a MacBook Pro (M1) using Podman. I need to install Firefox and Gecko via the image's Dockerfile, however, the default ...
John Gerken's user avatar
0 votes
0 answers
55 views

Podman pod volume permissions when containers use different UID

I am working with a podman pod which consists of two containers. Container foo has bind mount ./foo:/foo. Process within the container which needs rw to /foo is runnning as UID 1000 Container bar ...
Shunkica's user avatar
1 vote
1 answer
267 views

Creating a podman container as a non-root user in an Ansible playbook running as root

Is it possible to create a Podman container under a different user than the one running the Ansible playbook using namespaces? I am writing an Ansible playbook for my virtual private server. The ...
mcy's user avatar
  • 111
1 vote
0 answers
293 views

How do you configure Podman to use IPv6 on Debian

I am running rootless podman (podman version 4.3.1). I cannot get IPv6 working. Setup In /etc/containers/containers.conf I have set: network_cmd_options = [ "port_handler=slirp4netns", ...
Tintin's user avatar
  • 193
0 votes
0 answers
495 views

Port forwarding to podman container not working

I want to serve port 8000 from a podman container to the LAN using port 8009. The container is run using podman-compose, which translates to the following command: podman create --name=pihole-...
arielnmz's user avatar
  • 433
0 votes
0 answers
394 views

How to log systemd output to container logs

I run a rootless container system container with podman, i.e. systemd is running inside the container as entrypoint. I cannot figure out, though, how I can get the logs of the container, i.e. output ...
omgold's user avatar
  • 1
0 votes
1 answer
151 views

Why isn't my unit container running?

I'm trying to move the manual launch of our Podman LakeFS container to a service at boot. I was suggested to use Quadlet and I'm following this guide I converted our script/command: #!/usr/bin/bash ...
elect's user avatar
  • 203
0 votes
1 answer
273 views

podman-composer: maintaining correct file ownership between host and container

Here is a problem. Here is a part of my podman-compose.yml web: build: . args: USERNAME: ${USERNAME} GROUPNAME: ${GROUPNAME} USERID: ${USERID} GROUPID: ${GROUPID} ...
AlekS's user avatar
  • 36
0 votes
2 answers
567 views

Permission Issues with Rootless Podman Container and Mapped Volume

I am using a rootless Podman container to run a php+apache image. My container setup involves mapping a directory from the host to the container (~/foo:/var/www/html/foo). The user inside the ...
Shunkica's user avatar
0 votes
1 answer
568 views

Error: creating build container: no such file or directory

When running podman build, I get: Error: creating build container: creating container: creating read-write layer with ID "d46b51efb16fd01f507af3bf70392b3c9376ba3d53b76170ab09407f097aabb4": ...
Nemo's user avatar
  • 259
0 votes
0 answers
154 views

Using systemd-networkd inside a Podman container

The end goal is to have a macvlan interface set up within a Podman container. I have the following Dockerfile FROM docker.io/library/debian:bookworm-slim RUN apt-get --yes install systemd RUN ...
jezza's user avatar
  • 101
1 vote
1 answer
201 views

kind get clusters - not working with my local Kind-powered Kubernetes cluster

) I'm trying to follow Working with your Kind cluster | Podman Desktop yet encounter the following error: % kind get clusters ERROR: failed to list clusters: command "docker ps -a --filter label=...
alexus's user avatar
  • 13.5k
0 votes
0 answers
1k views

Podman using all disk space

I am running AlmaLinux 9 (RHEL 9 clone), and am new to podman. I have been running my first and only container for a month, and today my disk is full: df -h Filesystem Size Used Avail Use% ...
TSG's user avatar
  • 1,852
1 vote
0 answers
251 views

Is podman's container exec_died message an error?

I see the following two messages in my syslog at regular intervals. The "exec_died" message sounds like a bad thing, yet everything seems to be working. Is this an indication of a problem -...
TSG's user avatar
  • 1,852
0 votes
1 answer
147 views

Requires= in systemd unit does not work as intended, both units are started simultaneously

I'm trying to force one unit to run to completion before another unit starts, and all docs say that I should trust Requires= but it's not working as advertised. Here is the actual unit I'm starting (...
Stefan Midjich's user avatar
0 votes
0 answers
68 views

Running podman on RH 8.8 continues to give "no read access to runc binary" error

On a stig'd Redhat 8.8 machine I cannot get podman to run hello world or build a simple app and continue to get a no read access error Running commmand root>podman run hello Produces root>Error: ...
user2225403's user avatar
0 votes
0 answers
635 views

podman cannot run rootless with users from remote auth system as they are not in /etc/shadow

I'm trying to run podman rootless on a server where users are authenticated via a remote system. Problem is, in this setup, this means /etc/shadow does not track the users (normal). Result is that ...
tk-noodle's user avatar
  • 223
0 votes
0 answers
442 views

How to enable multicast function in a podman container?

run a container in rootless podman. $ podman run -i -t --rm alpine in container # ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 link/loopback 00:00:00:...
Daniel YC Lin's user avatar
0 votes
2 answers
435 views

fail2ban on host for rootless podman keycloak container

running on Rocky Linux 9.2 with podman 4.4.1. I got a podman Pod with keycloak + postgresql inside, running rootless. The pod itself with --network 'slirp4netns:port_handler=slirp4netns'. The keycloak ...
Leo's user avatar
  • 141
0 votes
1 answer
273 views

How to check core dump inside a podman container?

redirect core dump to /ap_core directory for sharing later mkdir -p /ap_core && chmod 1777 /ap_core cat /proc/sys/kernel/core_pattern echo '/ap_core/core.t%t.u%u.s%s.p%p.%e' > /proc/sys/...
Daniel YC Lin's user avatar
0 votes
0 answers
645 views

Using podman/docker secrets to enable SSL for Postgres 15 - SOLVED

I am trying to use podman/docker secrets for ssl certificates but i keep getting SSL errors. Here is the command i am using: podman run \ --detach \ --restart on-failure:5 \ --network ...
Luccas's user avatar
  • 1
3 votes
1 answer
688 views

Why is systemd-oom the owner of my podman container volume?

I'm attemping to run Listmonk using the provided Docker method, but I'm encountering an issue related to systemd-oom that I am struggling to understand. I've mapped the /var/lib/postgresql/data volume ...
soulprovidr's user avatar
1 vote
0 answers
319 views

podman: disconnect rootless container from network

Podman containers can be started with --network=none to deny any network access. Running containers can be denied network access by disconnecting all networks according to podman-network-disconnect(1)...
raywib's user avatar
  • 11
1 vote
0 answers
199 views

Setting Neo4j ports with Podman

I need to run two Neo4j containers and so would like them accessible on different ports. The first one I've started like this: podman run --name neo4j-development -p 7687:7687 -p 7474:7474 -e "...
knirirr's user avatar
  • 141
0 votes
1 answer
868 views

podman/docker cannot reach exposed ports

We recently upgraded our infrastructure to the new Strato KVM VPS. After we had set up our dockerized services we noticed that none of our services are reachable through their defined ports. Neither ...
Lueton's user avatar
  • 11
0 votes
0 answers
2k views

docker registry behind nginx reverse proxy with authentication and ssl

I'm trying to push images remotely to my private docker registry, which fails like this: $ podman push sub.example.com:5000/dummyimg sub.example.com:5000/rem/dummyimg Getting image source signatures ...
Yaroslav Alexeevich's user avatar
2 votes
2 answers
11k views

How to configure a podman container to let it communicate with the host as well?

Is it possible to... run a container with podman which has an IP on the same subnet that the host is on is accessible from every other host on the subnet including the host itself? I had partial ...
chutz's user avatar
  • 8,030
0 votes
1 answer
3k views

Podman fails pushing image to AWS ECR repository with: Error: writing blob: Post

I have issues trying to push an image I created with podman to an ECR container I have. The issue doesn't seem to be related to permissions or authentication and I am struggling to find similar issues ...
carlitobrigante's user avatar
0 votes
1 answer
167 views

Podman rootless mode to install multiple php_cli versions on a server

I have a Debian server with multiple users. I would like to enable them to use multiple versions of PHP-CLI. I know I could use ondrej PPA, but I am not very comfortable adding unofficial apt sources. ...
nulll's user avatar
  • 517
3 votes
1 answer
4k views

podman: map container user to host user for shared volume permissions

I am trying to set up gitea using podman. I would like to have the data volume mapped to a host directory, because it allows me to easily inspect and backup the data the container process executed by ...
Robert Munteanu's user avatar
0 votes
1 answer
579 views

Can't restart podman container

I have installed a mtproto-proxy container: # podman container list CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS ...
Clodoaldo's user avatar
  • 435
1 vote
1 answer
2k views

podman: mount a file system during image build

Using podman/buildah, I want to build a container image that has host file systems already mounted. I am able to do this with Singularity with sudo singularity build /tmp/lolcow.simg /tmp/lolcow....
Cavalcade's user avatar
1 vote
0 answers
3k views

Podman is unable to start container with SELinux (sd-bus call permission error)

Here is the command I am using to start the container: podman run -d --name busybox-top -v ./src:/dest:Z busybox top Error: Error: sd-bus call: Permission denied: OCI permission denied I do not have ...
jnbdz's user avatar
  • 947
4 votes
1 answer
4k views

What's the difference between rootless Docker, running a container as a non-root user, and Podman?

Recently I've been trying to run my Docker application as a non-root user. I've seen there are several options available to me: Install rootless Docker : apparently this is a "non-root" ...
Klangen's user avatar
  • 155
2 votes
1 answer
8k views

Podman (or docker) running a MySQL container and a shared data directory

I am running a Ubuntu 20.04.5 LTS virtual machine for my development environment. In the past I have run multiple VM's to host databases, web servers, etc, as I need them for projects. So in short, I ...
UnKulMunki's user avatar
1 vote
0 answers
238 views

Moving folders while building a podman container

I am creating a container for Podman that runs Samba Active Directory as a Primary Domain Controller and with Bind DNS backend. It is based of a previous container that I made which had volume ...
Lasse Michael Mølgaard's user avatar
2 votes
2 answers
2k views

Running amd64 UBI9 images with podman on Apple Silicon

I'm trying to run an amd64 UBI9 image on Apple silicon with Podman. Podman provides a Fedora CoreOS VM to run containers in. It allows for installing qemu binaries to run "foreign architecture&...
wzzrd's user avatar
  • 10.5k
0 votes
1 answer
3k views

Installing podman on Amazon Linux 2

I am trying to install podman on an Amazon Linux 2 instance cat /etc/os-release NAME="Amazon Linux" VERSION="2" ID="amzn" ID_LIKE="centos rhel fedora" ...
Daniel Szalay's user avatar
1 vote
1 answer
10k views

podman: why need host network mode

As per man podman-run container's network can be configured in the host mode: --network=mode, --net ... host: Do not create a network namespace, the container will use the host’s network. Note: The ...
Mark's user avatar
  • 259
1 vote
1 answer
2k views

podman container with public IPv6

I have got a server with IPv4 address and IPv6 /64 subnet (let's say 2001:db8::/64), both public. Server itself has the following IPv6 address: 2001:db8::1/64. The gateway is fe80::1 (which causes ...
Kacper G.'s user avatar
  • 111
0 votes
1 answer
651 views

How to assign a static IP with molecule-podman?

As the generated inventory look like a pair of instance name - ip (see above), I need to test recipe using the variable ansible_host with an IP value and not the instance name. So the generated ...
bioinfornatics's user avatar
0 votes
1 answer
1k views

Ansible - No such file error when activating systemctl Podman user socket

I am running an Ansible playbook on a fresh Oracle Linux 8 system. It includes a step where it asks systemctl to activate a user Podman socket like so: - name: Enable podman socket vars: userid:...
hpy's user avatar
  • 875
0 votes
1 answer
221 views

Can the Docker or Podman clients running on MacOS/Windows use a remote server to build/run containers?

With MacOS and Windows as the clients and I would like to be able to have an address on my network (local or public) handle the container build steps and running the container. So when I run something ...
David Alsh's user avatar
0 votes
0 answers
694 views

Remove default docker registry and put prefix to pull images in Openshift 4.7

I know we can add registry name before image name. like docker pull my_registry/myimage:latest. But by default it looks in docker hub. Is there anyway to remove docker hub from default or add a prefix ...
Mohammad Mousavi's user avatar
1 vote
1 answer
2k views

podman container fails to start: mkdir journal dir permission denied

I had some containers running smoothly in Centos 8.2 with podman. After upgrading to Centos 8.5, I found several of the containers failing to run. In the command line, I see this: $ podman run --name=...
molsqueak's user avatar
1 vote
0 answers
282 views

mariadb is not running after restart Openstack train

I have a OpenStack train deployment with a single controller node. disk went full I deleted the cinder-volumes loop file after reboot nothing is working because all the services are unable to connect ...
Muhammad Tahir Masood's user avatar
1 vote
0 answers
2k views

minikube on macos with m1 darwin without docker

Ok, in my search for a development environment without docker desktop, I am exploring minikube. The issue is that minikube (at the time of writing) cannot run on macos with m1 chip because hyperkit is ...
santiago arizti's user avatar
0 votes
1 answer
2k views

How to change the default infra container in Podman?

I am trying to use podman-compose to spin up an environment. The env is air gapped from the internet and uses a local docker registry to pull images. The issue is when I run podman-compose up, it ...
dranobob's user avatar
  • 151