mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-30 11:53:24 +01:00
796e6a4473
If no services are defined, podman-compose crashes as services variable is None, while the expected behavior might be an error or the same as docker-compose, which will continue the execution of the compose file (eg. creating networks, etc). This commit fixes the crash and allows the program to continue, mimicking docker-compose behavior.
8 lines
118 B
YAML
8 lines
118 B
YAML
version: '3'
|
|
networks:
|
|
shared-network:
|
|
driver: bridge
|
|
ipam:
|
|
config:
|
|
- subnet: 172.19.0.0/24
|