Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Question: entering docker port #150

Open
Tayumakio opened this issue Jan 16, 2025 · 2 comments
Open

Question: entering docker port #150

Tayumakio opened this issue Jan 16, 2025 · 2 comments

Comments

@Tayumakio
Copy link

Tayumakio commented Jan 16, 2025

While trying to install the service through the new nginx configuration, I repeatedly encountered an error after entering docker port: 8080 already in use.

Docker has been configured by your script and running the script again causes this error.
Docker itself already running and listening on this port. There wasn't a single container running in it, but your script still gave an error.
It seems to me that this is the wrong behavior for a script.

@m1k1o
Copy link
Owner

m1k1o commented Jan 16, 2025

Check if something else is not listening on the port:

sudo netstat -ntlp

If the netstat command is not available, install it with:

sudo apt install net-tools

@Tayumakio
Copy link
Author

Tayumakio commented Jan 16, 2025

Yep, I checked it before:
sudo lsof -nP -iTCP -sTCP:LISTEN

Image

After reboot of system it was like that.
Then I stoped docker service and script works without error
sudo systemctl stop docker.service

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants