containers / containers/podman-compose

The app container depends on the db container. Why does the db container restart when running podman-compose up -d app?

Open
#1,328 1 comment 2 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
6.2k
Forks
622
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
The app container depends on the db container. Why does the db container restart when running podman-compose up -d app?

services:
db:
image: postgres:14
container_name: db
...
app:
...
depends_on:
- db

podman-compose up -d app

**Environment:**
- OS: Linux / WSL / Mac
- podman-compose version 1.5.0
- podman version 5.4.0

**Additional context**

Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.