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

[BUG] compose config no longer validates compose files #11607

Closed
luciangabor opened this issue Mar 12, 2024 · 1 comment
Closed

[BUG] compose config no longer validates compose files #11607

luciangabor opened this issue Mar 12, 2024 · 1 comment

Comments

@luciangabor
Copy link

$ docker compose -f - config <<-'EOF'
name: no-build-or-image
services:
  service:
    read_only: true
EOF
name: no-build-or-image
networks:
  default:
    name: no-build-or-image_default
services:
  service:
    networks:
      default: null
    read_only: true

$ docker compose -f - config -q <<-'EOF'
name: no-build-or-image
services:
  service:
    read_only: true
EOF

$ echo $?
0

#11587 (comment)

@ndeloof
Copy link
Contributor

ndeloof commented Mar 13, 2024

fixed by #11604

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

2 participants