diff --git a/bin/compose b/bin/compose index f12feeb..1ff3ffe 100755 --- a/bin/compose +++ b/bin/compose @@ -963,16 +963,7 @@ get_docker_compose () { return 1 } - base_v2="version: '2.0' -networks: - static: - driver: bridge - ipam: - driver: default - config: - - subnet: 172.25.1.0/24 - -" + base_v2="version: '2.0'" merge_yaml_str "$(yaml_key_val_str "services" "$docker_compose_services")" \ "$base_v2" > "$cache_file" || return 1 diff --git a/test/base b/test/base index 3850c47..db21acf 100755 --- a/test/base +++ b/test/base @@ -1244,14 +1244,7 @@ cd "$test_tmpdir" export DISABLE_SYSTEM_CONFIG_FILE=true out=\$("$tprog" config) || exit 1 -expected="networks: - static: - driver: bridge - ipam: - config: - - subnet: 172.25.1.0/24 - driver: default -services: {} +expected="services: {} version: '2.0'" [ "\$out" == "\$expected" ] || {