Questions tagged [podman]

Podman is a daemon-less container engine for developing, managing, and running OCI Containers on your Linux System. Containers can either be run as root or in rootless mode.

Library and tool for running OCI-based containers in Pods

Libpod provides a library for applications looking to use the Container Pod concept, popularized by Kubernetes. Libpod also contains the Pod Manager tool (Podman). Podman manages pods, containers, container images, and container volumes.

Overview and scope

At a high level, the scope of libpod and Podman is the following:

  • Support multiple image formats including the OCI and Docker image formats.
  • Support for multiple means to download images including trust & image verification.
  • Container image management (managing image layers, overlay filesystems, etc).
  • Full management of container lifecycle
  • Support for pods to manage groups of containers together
  • Resource isolation of containers and pods.
  • Support for a Docker-compatible CLI interface through Podman.
  • Integration with CRI-O to share containers and backend code.
696 questions
27
votes
3 answers

How to run podman from inside a container?

I want to run podman as a container to run CI/CD pipelines. However, I keep getting this error from the podman container: $ podman info ERRO[0000] 'overlay' is not supported over overlayfs Error: could not get runtime: 'overlay' is not supported…
Fabio Gomez
  • 687
  • 2
  • 7
  • 13
27
votes
3 answers

There is any "Podman Compose"?

I recently found out about Podman (https://podman.io). Having a way to use Linux fork processes instead of a Daemon and not having to run using root just got my attention. But I'm very used to orchestrate the containers running on my machine (in…
otaviofcs
  • 785
  • 2
  • 6
  • 16
22
votes
3 answers

Podman mount host volume return 'Error: statfs: no such file or directory' in Mac OS

Recently switched from Docker Desktop to Podman, everything work smoothly except when I want to mount host volume into container. e.g. ➜ ~ podman run --name nginx -v ~/bin/nginx/nginx.conf:/etc/nginx/nginx.conf:ro -d -p 8080:80 nginx Error: statfs…
mainframer
  • 20,411
  • 12
  • 49
  • 68
20
votes
6 answers

How to mount a volume from a local machine on Podman

I'm trying to use Podman for local development. My idea is to use a local folder and sync it with the container where I'll be running my application. I found that the -v option that I would use if I was working with Docker works with the server…
Carabes
  • 532
  • 2
  • 4
  • 16
20
votes
2 answers

Podman pull 'official' images from docker hub?

No matter what I do, I only ever get a 404 or Error: invalid reference format I think it should be podman pull hub.docker.com/_/postgres but this doesn't work. I've also tried podman pull hub.docker.com/postgres podman pull…
antonyh
  • 2,131
  • 2
  • 21
  • 42
18
votes
2 answers

How to force delete all podman images and children

When I do something like podman rmi d61259d8f7a7 -f it fails with a message: Error: unable to delete "vvvvvvvvvvvv" (cannot be forced) - image has dependent child images. I already tried the all switch podman rmi --all which does delete some images…
Nagev
  • 10,835
  • 4
  • 58
  • 69
17
votes
2 answers

Accessing host from inside container

What I am trying to accomplish is to connect to a database installed on the host system. Now there is a similar question already for docker, but I could not get that to work with Podman, I imagine because networking works a bit differently here. My…
Thomas Glaser
  • 1,670
  • 1
  • 18
  • 26
16
votes
5 answers

Testcontainers with Podman in Java tests

Is it possible to use Testcontainers with Podman in Java tests? As of March 2022 Testcontainers library doesn't detect an installed Podman as a valid Docker environment. Can Podman be a Docker replacement on both MacOS with Apple silicon (local…
Eugene Khyst
  • 9,236
  • 7
  • 38
  • 65
15
votes
4 answers

podman machine - Cannot connect to Podman on MacOS

Update: This is solved, please see the answer. I am using podman on MacOS with podman machine and now podman is unable to connect to the podman machine. (It worked earlier but not sure the new macOS version causing the issue) MacOS Monterey (12.1) $…
Gineesh
  • 429
  • 1
  • 5
  • 13
13
votes
2 answers

Podman in Podman, similar to Docker in Docker?

Is there a way to run Podman inside Podman, similar to the way you can run Docker inside Docker? Here is a snippet of my Dockerfile which is strongly based on another question: FROM debian:10.6 RUN apt update && apt upgrade -qqy && \ apt…
Richard Gomes
  • 5,675
  • 2
  • 44
  • 50
12
votes
1 answer

Authenticate to Google Container Registry with Podman

The Google Container Registry documentation provides very good help on authenticating to it with Docker. Is there a way to do the same with Podman? The Google doc mentions Access Token as a method. Maybe that could work. If anybody has any advice or…
CeeTee
  • 778
  • 1
  • 9
  • 17
12
votes
3 answers

Why Does Podman Report "Not enough IDs available in namespace" with different UIDs?

Facts: Rootless podman works perfectly for uid 1480 Rootless podman fails for uid 2088 CentOS 7 Kernel 3.10.0-1062.1.2.el7.x86_64 podman version 1.4.4 Almost the entire environment has been removed between the two The filesystem for /tmp is xfs The…
Rob Paisley
  • 437
  • 1
  • 3
  • 13
11
votes
2 answers

Mapping of user Id's

I'm evaluating podman in rootless mode and faceing an issue with the User ID Mapping. I run podman with "myuser" who has the ID 1000. cat /etc/subuid myuser:100000:65536 When running a pod, where the pod user is root, the created files on the…
Jörg Lang
  • 171
  • 1
  • 1
  • 8
10
votes
2 answers

How to save the keycloak data when running inside docker container?

I run keycloak standalone using a command for docker docker run -p 8080:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin quay.io/keycloak/keycloak:15.0.2 How to mount a volume to save the data, after container is stopped?
Dennis Meissel
  • 1,825
  • 1
  • 21
  • 33
9
votes
1 answer

Podman: ERRO[0000] The storage 'driver' option must be set in /etc/containers/storage.conf

I'm on Manjaro, trying Podman and getting this error when I use any podman command: ERRO[0000] The storage 'driver' option must be set in /etc/containers/storage.conf, guarantee proper operation. How can I solve that? Tks.
Dav3rs
  • 101
  • 1
  • 6
1
2 3
46 47