Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker compose issue #1158

Open
nulls opened this issue Sep 5, 2022 · 1 comment
Open

docker compose issue #1158

nulls opened this issue Sep 5, 2022 · 1 comment
Assignees
Labels
infra Issues related to build or deploy infrastructure

Comments

@nulls
Copy link
Member

nulls commented Sep 5, 2022

After migration from docker-compose to docker compose, we get the following issue: "unsupported Compose file version: 1.0".

It's similar to docker/compose#9133, docker/cli#2527 and potentially fixed in docker/cli#3257

Potential workaround: https://stackoverflow.com/questions/57406409/unsupported-compose-file-version-1-0-even-when-i-have-the-right-compatability/69607819#69607819

How we deploy (@petertrr):

bash -c 'docker-compose -f /home/saveu/save-cloud/build/docker-compose.yaml --env-file /home/saveu/save-cloud/build/.env config | docker stack deploy --compose-file - --compose-file /home/saveu/configs/docker-compose.override.yaml save'

Hotfix: #1159

P.S. @akuleshov7 asked to upgrade ubuntu on prod box

@petertrr petertrr added the infra Issues related to build or deploy infrastructure label Sep 5, 2022
@nulls
Copy link
Member Author

nulls commented Sep 5, 2022

During login on box:

309 updates can be applied immediately.
206 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable

New release '22.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Issues related to build or deploy infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants