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

Parse docker compose file correctly when version is not declared #9420

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

eddumelendez
Copy link
Member

@eddumelendez eddumelendez commented Oct 21, 2024

version is optional in compose file.

Supported compose files:

Example 1:

redis:
  image: redis:7-alpine

Example 2:

version: 2.0
services:
  redis:
    image: redis:7-alpine

Example 3:

services:
  redis:
    image: redis:7-alpine

Fixes #8109

@eddumelendez eddumelendez requested a review from a team as a code owner October 21, 2024 18:24
@eddumelendez eddumelendez added this to the next milestone Oct 21, 2024
@eddumelendez eddumelendez merged commit f52169f into main Oct 21, 2024
107 checks passed
@eddumelendez eddumelendez deleted the gh-8109 branch October 21, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: pull=true has no effect in Docker Compose Container if version is not set
1 participant