Failing to build ErpNext due to Port already allocated

Hi, I am new to docker so may be something simple that I just didn’t learn yet.

Using NixOs(linux) on an old Dell Latitude Laptop.

Trying to follow this guide after a couple of fails before docker, then with docker too:

When trying to docker compose, it flags me an error that the port (8080) is already allocated…
Is there a way i could start from zero again or find what specifically is causing trouble ?

Appreciate the help !

When the port is already in use, you need to figure out the listener, try netstat -tulpn.

Note that Docker is not officially supported on Nix, see installation doc

I did sudo netstat -tulpm

Result is 290015/docker-proxy at 0.0.0.0:8080
and 290021/docker-proxy at :::8080

There is also 940/postgres at x.x.x.1:5432 and 940/postgres at ::1:5432

They are all listening, except two instances of 741/avahi-daemon: r

What I dont understand is how I could have two things on the same port when I “installed” docker for the sole purpose of running erpnext.
I dont have any other app/container other than what’s supposedly needed for erpnext :thinking:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.