Questions tagged [podman]

Podman is a daemonless container engine for developing, managing, and running OCI containers for applications. Use this tag for questions on how to build and run container images, as well as how to properly configure Podman containers.

Podman is a utility provided as part of the libpod library. It can be used to create and maintain containers. It is an alternative to Docker, providing a similar interface. podman aims to be a drop-in replacement for docker for most user applications running docker images.

References:

18 questions
31
votes
3 answers

What's the recommended way of installing Podman 4 in Ubuntu 22.04?

Ubuntu 22.04 only has Podman 3.4.4 in its repos and the former PPA for latest Podman was discontinued for 22.04 Kubic packages have been discontinued for Ubuntu 22.04 LTS. Current users of the Kubic repos for Ubuntu are highly recommended to…
4
votes
1 answer

Unable to install podman in Ubuntu 20.04 running on WSL2 in Windows 10

I cannot install podman following the official RedHat instructions or any other, for instance. I always get to the same situation diegosasw@LAP-DMARTIN:~$ sudo apt-get -qq -y install podman E: Unable to correct problems, you have held broken…
diegosasw
  • 241
3
votes
0 answers

container is stuck in state "stopping", cannot clear it

I have a container stuck in "stopping" state: % podman container ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS ... 40aaa25d12c5 docker.io/ubuntu/bind9:latest /bin/bash 2 hours ago Stopping …
3
votes
2 answers

Which command do I use to login to a container with podman?

I created a pod named multi-container. Its a yaml file: apiVersion: v1 kind: Pod metadata: name: multi-container spec: containers: - image: nginx name: nginx-container - image: redis name: redis-container - image: consul name:…
2
votes
1 answer

podman: OCI Runtime crun is in use by a container, but is not available (not in configuration file or not installed)

I'm not sure why I am getting this error: $ podman ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES b18ec89fc0ec docker.io/library/httpd:latest httpd-foreground 11…
Alex Ryan
  • 287
1
vote
1 answer

podman ipvlan l3 network

I have an Ubuntu box "k3" attached to a physical network 192.168.86.0/24 and a tplink deco router on 192.168.86.1. k3's IP is 192.168.86.53. On the ubuntu box, I created a ipvlan l3 network: podman network create -d ipvlan --subnet 192.168.3.0/24…
xpk
  • 436
1
vote
0 answers

Can I use Docker and Podman on the same server in multi-user environment?

I've googled while it's seemed that it is not a popular requirement. Can I use Docker and Podman on the same server when each software has multi-user? What are the risks of it?
1
vote
1 answer

rootless podman do not start after system reboot

I followed the guide of https://hub.docker.com/r/look4/nginx to install a rootless podman container with systemd on a Ubuntu 24.04. My container is running well but when I reboot the system my container do not start automatically. In syslog I found…
viglu
  • 21
1
vote
2 answers

Cant install podman in ubuntu 20.04

Although the podman documentation indicates i should be able to install it into an ubuntu 20.04, i cant: sudo apt-get install podman Reading package lists... Done Building dependency tree Reading state information... Done The following…
1
vote
1 answer

How to passthrough a device to a podman container?

I am running Ubuntu Server 22.04.3 LTS and I am trying to use Podman. I fail to passthrough a device (in my case /dev/ttyUSB0) to the container. Running podman --device /dev/ttyUSB0 ... just does not have any effect, the device isn't there inside…
TorstenS
  • 223
0
votes
1 answer

Error running rootless podman containers inside Incus system container

I know Incus runs rootless containers, so this is a bit superfluous, but I'm trying to run rootless Podman containers from inside an Incus system container and I've hit an issue. I get this error when I try podman run as non-root: cannot clone:…
cjt
  • 163
0
votes
1 answer

ioctl TUNSETIFF fails with EPERM inside a podman container, in Ubuntu Noble

I have a podman container which used to run on Ubuntu Focal (20.04) and Ubuntu Jammy (22.04) (using podman 3.4.4+ds1-1ubuntu1.22.04.3_, and now I am trying to use it on Ubuntu Noble (24.04) (using podman 4.9.3+ds1-1ubuntu0.2). In the container, it…
0
votes
1 answer

Connect to Podman Oracle Free Image using Sql Developer

I installed Oracle Sql developer and podman in my ubuntu 24.04 client/host . With podman i did podman run -d --name oracle-db -p 1521:1521 container-registry.oracle.com/database/free:latest then set a simple password with this other command: podman…
Malkavian
  • 225
0
votes
0 answers

How to configure podman in ubuntu server 22 to provide shared image storage among root-less users?

I had asked this question in podman discussion on Github (see the post here) but no luck getting an answer. So I copy the content and turn to ask Ubuntu for help. I hope that in a more general site with more users the comments and answers may solve…
0
votes
1 answer

Why getting status=4/NOPERMISSION from a systemd service inside podman container

I have created an image meant to be running systemd services. A specific service named aksusbd is failing with status=4/NOPERMISSION at the initialization of the systemd running inside the container. Podman commands: # Build the image sudo podman…
Met
  • 101
  • 2
1
2