-
-
Notifications
You must be signed in to change notification settings - Fork 45
Stack generation have breaking changes from 2021-09-18 to latest #33
Comments
I have the problem, i am getting now "unsupported Compose file version: 1.0" With my docker compose file, before the update all works fine.
|
It seems you have an older Docker version. So, in the latest version of the Docker Compose file format, the But in previous versions of the spec, it was required to add But in recent versions of the spec, the So, you should probably update the Docker version you are using. If you can't do that, you can pin the tag of the Docker image using a date tag like |
I think that there is a misunderstanding here. docker compose plugin (v2) is supposed to be invoked with nothing in this project changeset allows us from understanding it.
Then
Also...
So this image is becoming useless and that does not seem to bother you. Everything after Additional reading for why some may need to remain in v1 docker/cli#2527 Thanks anyway. |
Ah! Thanks for the clarification. I don't appreciate the bitter accusation, though. I've been doing this for free, for anyone to use it, in my free time. I would appreciate if you could restrain from these types of accusations when interacting with free open source projects, and asking for free support on issues. I'll investigate this later. |
The latest push did break some of our deployments.
Initially posted in #32 but does not per se have the same issue.
Before:
After:
Basic file input
docker-compose.yml
Output before:
Output now:
version: '3.8'
is not present on the generated stack.yml (the target host fallback toversion: 1
which is problematic. even though it is on our (input) files.from remote, not actually the docker-with-compose image
docker stack deploy -c docker-stack.yml --with-registry-auth "xxxx" unsupported Compose file version: 1.0
hint: the
docker-stack.yml
seems to be generated using compose v2 instead of docker-compose legacy version.The text was updated successfully, but these errors were encountered: