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

nerdctl compose run should randomize the container name #1345

Closed
AkihiroSuda opened this issue Aug 31, 2022 · 2 comments · Fixed by #1351
Closed

nerdctl compose run should randomize the container name #1345

AkihiroSuda opened this issue Aug 31, 2022 · 2 comments · Fixed by #1351
Labels
area/compose bug Something isn't working

Comments

@AkihiroSuda
Copy link
Member

Found a minor incompatibility: docker compose run randomize container name (compose-wordpress_db_run_cca27158caa2 ) but nerdctl compose run does not (`compose-wordpress_db_1).

Originally posted by @AkihiroSuda in #1340 (comment)

@AkihiroSuda AkihiroSuda added bug Something isn't working area/compose labels Aug 31, 2022
@minuk-dev
Copy link
Contributor

I could not find any documentation about the container's name in compose run.

Can we just implement it to make it work like that?

@AkihiroSuda
Copy link
Member Author

I could not find any documentation about the container's name in compose run.

https://github.com/docker/compose/blob/v2.10.2/pkg/compose/run.go#L63-L66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/compose bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants