Docker Community Forums

Share and learn in the Docker community.

Port not available

When running EOS studio

Concerned you can’t read the .png that I just sent, so here is the text from the instance:

docker run -dt --name eosio_v2.0.5_v2.0.5 --publish 8888:8888 --publish 5555:5555 --volume /Users/donniestarkey/.eosio/v2.0.5:/eosio -w /eosio eostudio/eos:v2.0.5 /bin/bash
docker: Error response from daemon: Ports are not available: listen tcp bind: address already in use.

I am a neub, and lost. Any direction would be helpful :slight_smile:


This means port 8888 is already occupied by another service. Could be a second container or an application that is running on the host.

Thanks, is there a wiki, or tutorial to fix it?

There’s no wiki for that. You just have to find it and turn it off. I’ve no idea what system you are using, so it’s a bit difficult to give an advice. Maybe you could call http://localhost:8888 in your browser to find out more.
Another way would be to publish to another port, for example --publish 8877:8888 (left number is port on the host, right in the container).

Thanks for the reply. I am using a Mac (Catalina). I pasted “http://localhost:8888” into the address bar for both safari and brave, but neither could not open the page. I also typed “–publish 8877:8888” into the address bars, which didn’t work either.

I also checked my activity monitor. The port is not mentioned there as being used.

I’m not a Mac user, so I can’t give you specific help for Mac OS. With –publish 8877:8888 I meant that you should modify the start command of the container.
Did you already check if other containers are running or if the one you want to start here is running already? docker container ls, or docker container ls -a to list the stopped containers too. You call docker run -d, this means you start the container as daemon (in the background).