Skip to content

Allowing naming of running containers #12

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

Merged
merged 1 commit into from
Jan 29, 2025
Merged

Conversation

SeanTAllen
Copy link
Collaborator

Prior to this change, you could only ever start a single instance of a development environment. The name given to the running container was the short name from the Credo configuration file. If you tried to start a new instance of an environment while one was already running, you'd get an error.

Both start and shell now take an optional flag --as to give the running container a name other than the short name from the configuration file. This allows you to have multiple instances of an environment running at the same time.

Prior to this change, you could only ever start a single instance of
a development environment. The name given to the running container
was the short name from the Credo configuration file. If you tried
to start a new instance of an environment while one was already
running, you'd get an error.

Both `start` and `shell` now take an optional flag `--as` to give the
running container a name other than the short name from the
configuration file. This allows you to have multiple instances of an
environment running at the same time.
@SeanTAllen SeanTAllen added the changelog - added Automatically add "Added" CHANGELOG entry on merge label Jan 29, 2025
@SeanTAllen SeanTAllen merged commit 9146261 into main Jan 29, 2025
10 checks passed
@SeanTAllen SeanTAllen deleted the name-running-container branch January 29, 2025 01:23
github-actions bot pushed a commit that referenced this pull request Jan 29, 2025
github-actions bot pushed a commit that referenced this pull request Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog - added Automatically add "Added" CHANGELOG entry on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant