ERROR: Version in "./docker-compose.yml" is invalid - it should be a string.
davidmankin opened this issue · 5 comments
davidmankin commented
Do you want to request a feature or report a bug?
Bug
Please provide a sample input docker run command
docker run --init --rm -d -e foo=bar container:latest
What is the current output?*
version: 3
services:
container:
environment:
- foo=bar
image: 'container:latest'
What is the expected/desired output?
version: "3"
services:
container:
environment:
- foo=bar
image: 'container:latest'
The version should be a string. docker-compose tells me:
ERROR: Version in "./docker-compose.yml" is invalid - it should be a string.
atomicwrites commented
This, I have a feeling this project is abandoned, but ill see if i can make a PR.
atomicwrites commented
Huh, apparently 3f37b35 should have fixed it but it not fixed on the website.
magicmark commented
Apologies, it's taken me a few weekends to get round to giving this project some love. Fixed the package deployment in this repo, we're now on the latest version on the website.
tobiasmuehl commented
@magicmark had this happen again today
amolac commented
Please correct the below line , it should be :
version: '3'