Package: podman-compose
Version: 1.0.3-3
Severity: important
Dear Maintainer,
Attempted to run the following compose file:
```
version: "3.9"
services:
plex:
container_name: plex
image: linuxserver/plex:latest
network_mode: host
ports:
- 32400:32400
- 3005:3005
- 8324:8324
- 32469:32469
- 1900:1900
- 32410:32410
- 32412:32412
- 32413:32413
- 32414:32414
devices:
/dev/dri:/dev/dri
volumes:
- /home/chris/appdata/docker:/config
- /mnt/nfs/media/movies:/movies:ro
- /mnt/nfs/media/tv:/tv:ro
- /mnt/nfs/media/hallmark:/hallmark:ro
environment:
- VERSION=docker
- PUID=99
- PGID=100
restart: unless-stopped
```
When running `podman-compose up`, I received the following error:
```
chris@hg-app-01:~$ podman-compose up
['podman', '--version', '']
using podman version: 4.3.1
** excluding: set()
['podman', 'network', 'exists', 'chris_default']
podman create --name=plex --label io.podman.compose.config-hash=123 --label io.podman.compose.project=chris --label io.podman.compose.version=0.0.1 --label com.docker.compose.project=chris --label com.docker.compose.project.working_dir=/home/chris --label com.docker.compose.project.config_files=docker-compose.yaml --label com.docker.compose.container-number=1 --label com.docker.compose.service=plex --network host --device / --device d --device e --device v --device / --device d --device r --device i --device : --device / --device d --device e --device v --device / --device d --device r --device i -e VERSION=docker -e PUID=99 -e PGID=100 -v /home/chris/appdata/docker:/config -v /mnt/nfs/media/movies:/movies:ro -v /mnt/nfs/media/tv:/tv:ro -v /mnt/nfs/media/hallmark:/hallmark:ro --net chris_default --network-alias plex -p 32400:32400 -p 3005:3005 -p 8324:8324 -p 32469:32469 -p 1900:1900 -p 32410:32410 -p 32412:32412 -p 32413:32413 -p 32414:32414 --restart unless-stopped linuxserver/plex:latest
Error: cannot set multiple networks without bridge network mode, selected mode host: invalid argument
exit code: 125
podman start -a plex
Error: no container with name or ID "plex" found: no such container
exit code: 125
```
I found a Github issue that covers the same, or similar, issue, that appears to be resolved upstream, but not yet released.
https://github.com/containers/podman-compose/issues/512
Thanks,
Chris Coughlan
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages podman-compose depends on:
ii python3 3.11.1-3
ii python3-dotenv 0.21.0-1
ii python3-yaml 6.0-3+b2
Versions of packages podman-compose recommends:
ii podman 4.3.1+ds1-5+b2
podman-compose suggests no packages.
-- no debconf information