libcompose icon indicating copy to clipboard operation
libcompose copied to clipboard

Support for docker compose version 3

Open rdlf0 opened this issue 8 years ago • 2 comments

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.

rdlf0 avatar May 31 '17 08:05 rdlf0

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

enavarro222 avatar Oct 24 '17 07:10 enavarro222

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.

CpuID avatar Aug 21 '18 22:08 CpuID