vscode-objectscript icon indicating copy to clipboard operation
vscode-objectscript copied to clipboard

Feature Request: Ability to choose docker-compose version

Open jbukowsky opened this issue 2 years ago • 1 comments

It would be nice to have a configuration option that lets the user customize the docker-compose command being used.

I would like to see configurable settings similar to what the docker extension provides, or perhaps even reusing those configurations if possible. (https://code.visualstudio.com/docs/containers/reference#_command-customization)

I'm having an issue with the extension's use of the docker-compose command that I believe would be resolved if I could update the command to use docker-compose v2.

The Compose file '.\conf/docker/docker-compose.yml' is invalid because:
'name' does not match any of the regexes: '^x-'

You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/```

jbukowsky avatar May 20 '22 21:05 jbukowsky

@jbukowsky A pull request that adds this feature would be welcomed.

isc-bsaviano avatar May 23 '22 12:05 isc-bsaviano