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

Check if there is not running container for given image #9

Closed
koudis opened this issue Oct 1, 2022 · 2 comments · Fixed by #24
Closed

Check if there is not running container for given image #9

koudis opened this issue Oct 1, 2022 · 2 comments · Fixed by #24

Comments

@koudis
Copy link
Member

koudis commented Oct 1, 2022

At the startup, I want to check if there is not container running for a given image name.

If the container is running before the init phase of the build the init fails because docker cannot start the second container for the image name and same bind ports.

Basically, each of our build containers shall have port 1122 bind as a SSH Server port. If there is a container that uses port 1122 then we can not start our build container.

As a result we need to check that there are no container that are bound to port 1122

@koudis
Copy link
Member Author

koudis commented Oct 1, 2022

The issue is needs to be resolved after #8

@koudis
Copy link
Member Author

koudis commented Jul 31, 2024

The #8 is no more prerequisite.

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 a pull request may close this issue.

1 participant