I\'m trying to start postgres in a docker container on my Mac, but I keep getting the following error message
docker: Error response from da
If lsof -i :5432 doesn't show you any output, you can use sudo ss -lptn 'sport = :5432' to see what process is bound to the port.
lsof -i :5432
sudo ss -lptn 'sport = :5432'
Proceed further with kill
kill