Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

libcompose fails to create networks for version "2.0" and above #515

Open
prashanthjbabu opened this issue Sep 27, 2018 · 0 comments
Open

Comments

@prashanthjbabu
Copy link

The following docker compose file fails to work with libcompose

version: "2.0"
services:
postgres:
image: 'postgres:10.4'
container_name: postgres
restart: always
networks:
my-network:
networks:
my-network:
driver: "bridge"

It doesn't work for version 2.1,2.2 etc either . Replacing version to "2" works! The same yaml file above works on docker-compose CLI

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant