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

Compose file top-level element name is not recognized #47

Closed
nicomem opened this issue Jan 5, 2024 · 1 comment · Fixed by #73
Closed

Compose file top-level element name is not recognized #47

nicomem opened this issue Jan 5, 2024 · 1 comment · Fixed by #73
Labels
bug Something isn't working
Milestone

Comments

@nicomem
Copy link

nicomem commented Jan 5, 2024

Description

When using the podlet compose command on a compose file which has a name top level element, an error is thrown indicating that the file is not a valid compose file.

Steps to reproduce

Create the following compose file hello-world-compose.yml:

version: '3'
name: hello-world
services:
  hello-world:
    image: hello-world

Run podlet compose hello-world-compose.yml:

Error: 
   0: File `hello-world-compose.yml` is not a valid compose file
   1: unknown attribute "name", extensions must start with 'x-' (see https://docs.docker.com/compose/compose-file/#extension)
@k9withabone k9withabone added the bug Something isn't working label Jan 7, 2024
@k9withabone k9withabone added this to the v0.3.0 milestone Jan 15, 2024
@k9withabone k9withabone added the blocked Waiting on something else to resolve label Feb 19, 2024
@k9withabone
Copy link
Member

Blocked on #63.

@k9withabone k9withabone removed the blocked Waiting on something else to resolve label Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants