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: Changes group type from int to str #3086

Merged

Conversation

herostrat
Copy link
Contributor

With the docker-compose file I got the following error:

$ docker-compose up
3 error(s) decoding:

  • 'group_add[0]' expected type 'string', got unconvertible type 'int', value: '109'
  • 'group_add[1]' expected type 'string', got unconvertible type 'int', value: '44'
  • 'group_add[2]' expected type 'string', got unconvertible type 'int', value: '46'

This commit changes the type to string to fix this issue.

$ docker-compose --version
Docker Compose version 2.3.3

@NickM-27
Copy link
Collaborator

I have seen this as well, what platform are you on? I'm on macOS, curious why it works on some systems and not on others.

@herostrat
Copy link
Contributor Author

Hey Nick, I'm on Linux
$ uname -a
Linux WorkLaptop 5.15.28-1-MANJARO #1 SMP PREEMPT Fri Mar 11 14:12:57 UTC 2022 x86_64 GNU/Linux

@blakeblackshear
Copy link
Owner

This is just a change in the transition from V1 to V2 docker compose. I switched to V2 and I see the same error.

@blakeblackshear blakeblackshear merged commit d43f918 into blakeblackshear:release-0.11.0 Apr 12, 2022
@herostrat herostrat deleted the composefile_fix branch April 12, 2022 12:29
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

Successfully merging this pull request may close these issues.

3 participants