docker / libcompose

*Unmaintained/Deprecated* An experimental go library providing Compose-like functionality
https://godoc.org/github.com/docker/libcompose
Apache License 2.0
585 stars 191 forks source link

Support for docker compose version 3 #474

Open rdlf0 opened 7 years ago

rdlf0 commented 7 years ago

When trying to use a docker-compose.yml file with version 3 syntax, I get the following error:

ERRO[0000] Could not parse config for project myprojectname : yaml: unmarshal errors:
  line 1: cannot unmarshal !!str `3` into config.RawService

Rolling back to version 2 solves the problem, but there are features from version 3 which I need.

enavarro222 commented 6 years ago

One can see issue : https://github.com/docker/libcompose/issues/421

CpuID commented 5 years ago

The first half of this is covered by https://github.com/docker/libcompose/pull/507 (actually parsing the version string in the file). The v3 specific file features may still be missing and need work though, TBD.