address already in use when creating a docker container

Karl Auer kauer at biplane.com.au
Wed Feb 8 23:41:52 UTC 2023


On Wed, 2023-02-08 at 15:02 +0100, robert rottermann wrote:
> I get an address already in use error:

Then the address is already in use :-)

Seriously though, something else on your system has that address.

"netstat -anpe | grep :8089" will tell you what program is listening on
that particular port.

-a = all
-n = numeric addresses (no DNS lookups)
-p = program names and PIDs
-e = extended information

As a workaround, you should be able to use a different local port and
leave the current one alone. Probably (because I am not a docker user)
by adjusting that "ports" line, because that looks as if one port is
local and one is the one used by docker.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer






More information about the ubuntu-users mailing list