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
0
votes
0 answers

Kill the container using systemd API

I am using PPODMAN systemd based podman containers and to kill the container I just execute the command systemctl halt and the container gets killed. I execute following steps: Create Container podman create -t -i \ --restart=always \ --systemd=true…
drifter
  • 389
  • 1
  • 5
  • 17
0
votes
2 answers

Can I run bash rootless with `podman`?

The simple scenario is this; in this tutorial: Using podman without sudo How to Install and Use Podman on Ubuntu 20.04 update #1 ... The problem appears related to correctly activating cgroups2 on Ubuntu. To run bash in an Ubuntu container…
will
  • 4,799
  • 8
  • 54
  • 90
0
votes
0 answers

debezium in podman FATAL ERROR in native method: processing of -javaagent failed

I have a problem with monitoring debezium. My env - KAFKA_OPTS=-javaagent:/kafka/jmx_prometheus_javaagent.jar=8080:/kafka/config.yml don't work correctly I builded my project on podman 2.2.1 version. with root user. FATAL ERROR in native method:…
0
votes
1 answer

How to intstall podman on SLES 12

I tried to install podman on SLES 12 straightforwardly, but it looks like the package is missing. dmitry@sles12:~> sudo zypper in podman Refreshing service 'Advanced_Systems_Management_Module_x86_64'. Refreshing service…
0
votes
1 answer

Not enough space to yum install in a rhel7 ubi podman container

I am trying to install multiple pkgs to build a jenkins agent container off of a rhel7 ubi. I keep running into a 'not enough disk space' error during the yum install steps while building the image. I know podman uses overlayfs which I thought is…
0
votes
1 answer

Ansible podman deploy

I'm trying to create a playbook which configures a RHEL 8 machine with a container. It all seems to go just fine until i try to use environment variables. That gives me the following error: FAILED! => {"changed": false, "msg": "argument env is of…
Rick
  • 71
  • 1
  • 2
  • 10
0
votes
3 answers

How to run a container from within another container when building a tool/utility

We've begun to use containers when creating tools and utilities so individual developers don't have to bother installing prerequisites. Works great, as in: docker run --rm -v $PWD/input.yaml:/input.yaml our.registry.com/dev/toolA /input.yaml Until…
Peter V. Mørch
  • 13,830
  • 8
  • 69
  • 103
0
votes
1 answer

How UID can be determined without running the container?

I am running the docker.io/library/mariadb:latest image using podman on Centos 8. I am mounting a volume on host for persistent storage for the database. I understand that the directory ownership on the host must be changed for the user inside the…
Muzammil
  • 417
  • 1
  • 4
  • 20
0
votes
1 answer

Why am I not able to delete a directory when building a container with podman?

I am building a custom image with rootless podman from a Dockerfile within a CI/CD pipeline in GitLab. In this container, I would like to remove a directory to slim down the size of the resulting image. For example like this: FROM ubuntu:20.04 #…
L. Resch
  • 41
  • 1
  • 3
0
votes
1 answer

Is it possible to switch process using PID 1 in a container?

I have a Pid 1 problem. Ok so in order to explain i need to focus on my formulation of the problem. I have a service which is depended on a hostid and a license file generated to match the hostid in order to run. How the hostid is genereted is…
Paal Pedersen
  • 1,070
  • 1
  • 10
  • 13
0
votes
1 answer

django: Unable to get sorl-thumbnail working

I am making a django site where users can upload images and I want to use sorl-thumbnail for thumbnail generation and caching. I am using a container based workflow using podman on a fedora silverblue host. I have setup a memcached cache engine…
miller the gorilla
  • 860
  • 1
  • 7
  • 19
0
votes
1 answer

Is there a kubectl port-forward equivalent in podman?

There are TCP ports that should not be exposed to the outside world, but are isolated between several containers in a network. To access such a port for debugging purposes, kubectl port-forward can be used from outside the container network. E.g.…
Simon Schürg
  • 2,134
  • 2
  • 20
  • 31
0
votes
0 answers

Centos8 podman exiting all containers (139)

Any image I would try to run the behavior is always the same "Exited (139)" OS: Centos 8 with podman running inside an Azure VM. The Centos image is the one provided by Azure when creating a VM. VM: Azure B2S Gen 2 | 2vCPU(s) | 4 GiB RAM | 8 GiB…
BraisRV
  • 21
  • 1
  • 4
0
votes
1 answer

Rootless Podman with systemd in ubi8 Container on RHEL8 not working

We are trying to run a Container from ubi8-init Image as non root user under RHEL8 with podman. We enabled cgroups 2 globally by adding kernel parameters and checked versioins: cgroup_no_v1=all systemd.unified_cgroup_hierarchy=1 $ podman -v podman…
CozyBob
  • 43
  • 2
  • 9
0
votes
0 answers

Buildah missing dependencies when building docker image using Podman Jenkins container pipeline

I have a Jenkins running as a podman container, now I want to build a image using pipeline, but Jenkins container always tells these files were not found. Here is how I run my Jenkins image: podman run -u root -d -v jenkins_home:/var/jenkins_home…
datta ambareesh
  • 141
  • 1
  • 8