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.yml invalid due to blank lines #133

Open
jagiella opened this issue Jul 7, 2023 · 0 comments
Open

docker-compose.yml invalid due to blank lines #133

jagiella opened this issue Jul 7, 2023 · 0 comments

Comments

@jagiella
Copy link

jagiella commented Jul 7, 2023

Checking out the repository and running it with docker compose will fail unless the blank lines in docker-compose.yml are removed.
My guess is, that the yaml parser got less tolerant towards invalid syntax.

Command:
$ sudo docker compose -f docker-compose.yml -f docker-compose.nginx.yml up

Running on:

$ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
$ apt list "docker*"
Auflistung… Fertig
docker-buildx-plugin/bullseye,now 0.10.4-1~debian.11~bullseye amd64  [installiert]
docker-ce-cli/bullseye,now 5:23.0.4-1~debian.11~bullseye amd64  [installiert]
docker-ce-rootless-extras/bullseye,now 5:23.0.4-1~debian.11~bullseye amd64  [Installiert,automatisch]
docker-ce/bullseye,now 5:23.0.4-1~debian.11~bullseye amd64  [installiert]
docker-clean/stable 2.0.4-3 all
docker-compose-plugin/bullseye,now 2.17.2-1~debian.11~bullseye amd64  [installiert]
docker-compose/stable 1.25.0-1 all
docker-doc/stable 20.10.5+dfsg1-1+deb11u2 all
docker-registry/stable 2.7.1+ds2-7+b6 amd64
docker-scan-plugin/bullseye 0.23.0~debian-bullseye amd64
docker.io/stable 20.10.5+dfsg1-1+deb11u2 amd64
docker2aci/stable 0.17.2+dfsg-2.1+b5 amd64
docker/stable 1.5-2 all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant