Docker : ErpNext can't build due to some reason I can't comprehend

So I’m trying to setup ErpNext via docker as it seemed the simplest way over all.
Its supposed to be 3 lines of codes, how hard could it be ?
Alot it seems…

I did follow the steps from the github repo:

When I try to compose the container( docker compose -f pwd.yml up -d), I get that error:
Error response from daemon: driver failed programming external connectivity on endpoint frappe_docker-frontend-1 (cd4e2a7460e3ef5923b26b9d9d5cea9de178dd1445414e85c24ed08523ff3ed0): Bind for 0.0.0.0:8080 failed: port is already allocated

And if i use something else like this:
docker compose -p pwd -f pwd.yml up -d
I get the same error, plus create-site-1 and configurator-1 stay at “started” instead of switching to “running” like the other containers.

I did post on the Docker forum a couples of hours ago, but with no reply yet.

I am still new with NixOs and Docker, so I dont really know where to go or what to check for, there isn’t much about this on the web

Edit: when using docker restart $(docker ps -a -q) it gives me that error:
Error response from daemon: Cannot restart container 34b651563f2b: driver failed programming external connectivity on endpoint frappe_docker-frontend-1 (b15e0516f0647532aa3ff9a1019fcdb58ceec5a349caf7c747556361e1ddf0d5): Bind for 0.0.0.0:8080 failed: port is already allocated

0.0.0.0:8080 failed: port is already allocated

Is the port already occupied?

It shouldn’t be, as I only “installed” Docker to run Erpnext, so other than erpnext somehow colliding with itself, the port should not be already in use.
On another forum I got recommended to do sudo netstat -tulpn, here is the result:

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: