whenever I try to run a podman container, it’ll through:
Error: running container create option: container has joined pod 4f[long_string]b1f and dependency container 34[long_string]9cd is not a member of the pod: invalid argument
An example of a dependent container compose file looks like this:
services:
# https://docs.linuxserver.io/images/docker-qbittorrent
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
environment:
- WEBUI_PORT=8090
- PUID=0
- PGID=0
volumes:
- ./config:/config:Z
- ./files:/media:z
restart: always
depends_on:
- gluetun
network_mode: "container:gluetun"
services:
# https://github.com/qdm12/gluetun
gluetun:
image: docker.io/qmcgaw/gluetun
container_name: gluetun
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
ports:
- 8001:8000 # gluetun
- 8090:8090 # qbittorrent
volumes:
- ./config:/gluetun:Z
environment:
- KEYS=REDACTED
restart: always
privileged: true
It worked until yesterday. I updated to fedora 40. I am not sure if that is just a coincidence or if that’s the reason. Should I downgrade to 39?
New Lemmy Post: dependent containers don’t work anymore because of network_mode (https://lemmyverse.link/lemmy.world/post/15163705)
Tagging: #SelfHosted
(Replying in the OP of this thread (NOT THIS BOT!) will appear as a comment in the lemmy discussion.)
I am a FOSS bot. Check my README: https://github.com/db0/lemmy-tagginator/blob/main/README.md