Questions tagged [podman-compose]
38 questions
7
votes
3 answers
In a ROOTLESS podman setup, how to communicate between containers in different pods
I read all I could find, but documentation on this scenario is scant or unclear for podman. I have the following (contrived) ROOTLESS podman setup:
pod-1 name: pod1
Container names in pod1:
p1c1 -- This is also it's assigned hostname within…

NYCeyes
- 5,215
- 6
- 57
- 64
3
votes
1 answer
"Podman machine start" : All pipe instances are busy
I am trying to set up Podman in my Windows 10 system, but I stuck with an error "All pipe instances are busy”, please help me how can I resolve this or let me know if I am doing anything wrong here.
Step 1:- Podman machine init (This command…

Dee
- 69
- 4
3
votes
2 answers
Mounting volumes between host (MacOs BigSur) and podman VM
In my company we switched to Podman due to docker latest change in policies. My colleagues who use Windows with WSL2 switched seamlessly.
Me, who uses MacOs BigSur v.11.6.2 face the following issue:
$ podman machine init -v /Users:/mnt/Users
$…

Dimitriy
- 31
- 1
- 2
2
votes
1 answer
podman compose up listens to port 8080
I have docker-compose and podman-compose installed on the linux server (RHEL8.6)
I have the docker-compose.yaml file in the directory, which is as shown :
version: '3'
services:
serviceA:
image: 'AA/XXX:XX.XX.XX'
ports:
-…

RCB
- 479
- 1
- 9
2
votes
1 answer
Unable to autostart podman containers after system reboot
The tasks seems simple. When the vm is done rebooting, the podman containers should be started again. Both containers spin up, but then exit because of SIGTERM.
We used this command on the vm running Ubuntu 22.04.2 LTS
podman-compose -f…

ratlan
- 341
- 2
- 12
2
votes
1 answer
Podman & podman-compose: add local directory as a volume
I'm trying to set up a Wordpress development environment using Podman and podman-compose.
Here's my docker-compose.yml file:
version: "3.9"
networks:
wordpress:
services:
wordpress:
container_name: wordpress
image:…

Kilipukki
- 311
- 3
- 16
2
votes
1 answer
How can I schedule future jobs with Podman?
I would like to schedule jobs for execution at a later date and time. I am using Podman. Previously, this was easy using Docker and Swarm, where one could define a cron-like expression for recurrent job execution in the future using…

va456ghfft
- 21
- 1
2
votes
1 answer
Can't get Podman to run on Ubuntu
I've installed Podman on Ubuntu using apt-get successfully, and it is running when I do:
service podman start
service podman status
The result is:
podman.service - Podman API Service
Loaded: loaded (/lib/systemd/system/podman.service; disabled;…

timmy12342516753
- 21
- 1
2
votes
0 answers
docker-compose up failing on mac M1
i have a working docker-compose.yaml file working perfectly using podman-compose on my fedora 35 box.
however, when i try to build the environment using docker-compose on my mac equipped with m1 chip it fails. to be more specific, it fails on this…

Sombriks
- 3,370
- 4
- 34
- 54
2
votes
1 answer
Podman-compose versus podman run regarding environment variables
I would like some input on podman-compose and podman (I tried with docker and docker-compose with the same result) regarding environment variables, please consider the following scenario:
I've a binary file my-binary in…

Minkiu
- 31
- 2
- 6
1
vote
0 answers
podman-compose: Run Services in Specific Order
Is there a way to enforce starting services in a specific order? I am trying to do the following:
Start Azure SQL Edge service
Run SQL scripts to create database, schema, and tables (using mssql-tools image + sqlcmd)
Run a .net core app that…

FourByte16
- 11
- 2
1
vote
4 answers
NPM docker command not override by alias podman
I'm migrating Docker to Podman and the alias not is working when invoked by npm.
I added on my env alias:
alias docker='podman'
alias docker-compose='podman-compose'
To test the alias I ran docker-compose up --build and works correctly using…

jcebidanes
- 41
- 1
- 9
1
vote
0 answers
podman-compose rootless container fails at system boot
I've installed podman rootless and podman-compose in RHEL8
If I start my container as 'user1' with the following command everything works fine:
cd /home/user1/project
podman-compose up -d
but if I reboot the VM the container is not starting…

Fabry
- 1,498
- 4
- 23
- 47
1
vote
0 answers
Podman-compose up error freeing pod lock after failed creation: no such file or directory
I am trying to execute podman-compose up on a docker-compose.yaml file that has the following content:
services:
postgres:
image: postgres:10.12
container_name: postgres
restart: on-failure
ports:
- 5432:5432
…

John Mayne
- 237
- 1
- 3
- 14
1
vote
0 answers
Experiments with Podman-compose hanging
I have a rather simple docker-compose file (One Mongo Service, one test service):
version: "3.7"
services:
…

tschm
- 2,905
- 6
- 33
- 45