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
1 answer

How to run restart command inside Podman container?

As we know Podman is dockerless, it does not have a daemon as docker. In docker I'm able to run docker command by adding a volume in docker run -v /var/run/docker.sock:/var/run/docker.sock, with that the container can restart itself from inside…
cht_usr
  • 119
  • 1
  • 8
0
votes
1 answer

LoadImage in podman with python3

I'm trying to load my tar image in podman. Python 3.7.8 (default, Jun 29 2020, 05:46:05) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import podman >>> c =…
red5pider
  • 351
  • 1
  • 9
  • 24
0
votes
1 answer

Running two podman/docker containers of PostgreSQL on a single host

I have two applications, each of which use several databases. Before the days of Docker, I would have just put all the databases on one host (due to resource consumption associated with running multiple physical hosts/VMs). Logically, it seems to me…
user3814483
  • 292
  • 1
  • 2
  • 13
0
votes
2 answers

podman MongoDB docker-entrypoint.sh permission denied

I am new to docker and podman stuff. I want to run MongoDB in podman. So try to run it like this:- ❯ podman run -it --name mongo -p 27017:27017 --mount type=volume,src=mongodbdata,dst=/data/db mongo But I get error error: exec:…
너를 속였다
  • 899
  • 11
  • 26
0
votes
1 answer

How to create a persistent volume with rootless podman?

I am trying to run a mongodb container. Everything is fine expect it doesn't boot up because it can't modify permissions of the given volume. There is a possible fix in a Red Hat article about this issue, but it probably won't work since mongodb…
user13500227
0
votes
3 answers

Podman with Elasticsearch Permissions Issues - Unable to access 'path.data' (/usr/share/elasticsearch/data)

Now that RHEL8 is out Docker is no longer a viable option so I'm trying to get a cluster running in Podman, but have run into a permissions error. For whatever reason, no matter what I try, I get java.lang.IllegalStateException: Unable to access…
Grant Curell
  • 1,321
  • 2
  • 16
  • 32
0
votes
1 answer

Containerized NodeJS application on podman not reachable

I'm running a nodejs app in a pod (together with a mongo container) Nodejs app listens on port 3000, which I expose from the container. I have published port 3000 on the pod. The container starts successfully (logs verified), but I can't reach my…
Unibit
  • 89
  • 1
  • 5
0
votes
1 answer

Unable to create pod using podman

I am new to podman, trying to create pod with two container mysql and wordpress. Below are podman cli command. podman run --name mysql --pod new:mysqlpod -e MYSQL_ROOT_PASSWORD=sdk123 -d docker.io/library/mysql podman run --name wordpress -p…
SudhirKumar
  • 366
  • 2
  • 4
  • 16
0
votes
1 answer

Deploy DB+Proxy+SSL with kubernetes

I have very little knowledge of how kubernetes works and I’m trying to learn. I have some difficulties to understand how I can use kubernetes to deploy my DB (CouchDB) the reverse proxy (nginx) and the ssl certificate (letsencrypt with…
Nate
  • 7,606
  • 23
  • 72
  • 124
0
votes
1 answer

How do podman containers make connections and port issues?

Question 1: not root user cannot create a nginx application with a port number of 80? Podman can not create containers that bind to ports < 1024. Non priv users are not allowed to bind to ports < 1024, so this requires root. So I can only create…
zeronofreya
  • 203
  • 2
  • 7
0
votes
2 answers

running postgresql image with podman failed

When running postgresql alpine image with podman : podman run --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=test -e POSTGRES_USER=test -d postgres:11-alpine the result is : Error: /usr/bin/slirp4netns failed: "open(\"/dev/net/tun\"): No such…
Ruddy32
  • 81
  • 2
  • 6
0
votes
0 answers

How I get the container info on dockerless systems?

I am trying to get rid of docker on Linux system. I may need to make it on RedHat/CentOS. I need to get the container info like names, id, image etc. Podman kind of resolves this problem. But I am wondering if there is another way to make it besides…
Ani
  • 42
  • 4
0
votes
1 answer

Failure running podman with systemd on containerized emulated Raspbian distro

Motivation: I would like a containerized development environment that fully emulates the Raspbian Buster operating system. As far as developing our client/server software using Node.js goes, I'm set - but our end-product depends on SystemD services…
spidercatnat
  • 439
  • 1
  • 5
  • 15
0
votes
0 answers

Can I run docker packaged software without root on podman/docker?

I've read that docker is not really meant as a way to package a program to deliver to end users, but this seems to be done a lot. There are various pieces of software that I would like to run that have only two alternatives: build from source, or…
argentum2f
  • 4,842
  • 2
  • 25
  • 30
0
votes
2 answers

Running OpenMapTilesServer on RHEL8 with Podman

I have a problem trying to run OpenMapTilesServer on RedHat 8 with Podman. This is my start script: sudo podman run -d -v $(pwd):/data -p 8080:80 docker.io/klokantech/openmaptiles-server The image pulls okay, and it appears to start okay. I can…
Gav_at_HRSTS
  • 179
  • 2
  • 11