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

Error about port conflict (when docker container is already running in background) #107

Open
bartaz opened this issue Oct 26, 2022 · 1 comment

Comments

@bartaz
Copy link

bartaz commented Oct 26, 2022

Occasionally (not sure when, maybe when computer goes to sleep, or when shell is closed by vscode, or something), the dotrun process ends, but the docker container in the background still runs.

This causes a conflict of port number when I try to run dotrun again

image

I have to manually stop given container in docker to be able to use dotrun again.

Dotrun containers have a unique names now, but listening on the same port still is blocking running another container if one is already running.

Would it be possible for dotrun to detect container running on given port and close it or something?

@petermakowski
Copy link
Contributor

I am also experiencing this issue. Also, here: canonical/maas-ui#4567 (comment)

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

No branches or pull requests

2 participants