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

Document --project-name option #194

Open
SwooshyCueb opened this issue Apr 25, 2024 · 5 comments
Open

Document --project-name option #194

SwooshyCueb opened this issue Apr 25, 2024 · 5 comments
Labels
documentation Improvements or additions to documentation

Comments

@SwooshyCueb
Copy link
Member

At present, it is not possible to run multiple instances of the test runner against the same "project" at the same time, as the docker container names will overlap. Let's make the container names unique.

@korydraughn
Copy link
Contributor

@alanking Didn't you run into this a long time ago? Is there an option available to help with this today?

@alanking
Copy link
Contributor

The container names are generated by Compose, so you can use the --project-name option with most of the scripts to differentiate multiple instances of the same Compose project. I haven't used the option in a long time, so who knows if it's plumbed correctly all the way through, but it has worked in the past for this. The downside is that it generates new image names/tags for each project name, but they are the same underlying images, so just keep an eye on the tags and clean up as needed.

@korydraughn
Copy link
Contributor

korydraughn commented Apr 25, 2024

So if @SwooshyCueb or anyone else can come up with a better/maintainable way to achieve the same thing, perhaps that takes the place of the --project-name option.

@SwooshyCueb
Copy link
Member Author

Looks like --project-name works fine. We should document this better.

@korydraughn
Copy link
Contributor

Good. Take a swing at putting together some words. We can iterate on them.

@alanking alanking added the documentation Improvements or additions to documentation label Apr 26, 2024
@alanking alanking changed the title Unique container names Document --project-name option Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Development

No branches or pull requests

3 participants