Skip to main content

Resetting Docker is basically following the start parameters.  All containers removed -

No containers running

Try running a container: Copy and paste this command into your terminal

docker run -d -p 80:80 docker/getting-started

Unable to find image 'docker/getting-started:latest' locally
latest: Pulling from docker/getting-started

 

Error in set up

docker: Error response from daemon: Ports are not available: listen tcp 0.0.0.0:80: bind: address already in use.

 

 

Port checking

Lsof

Command: lsof -i -P

Do not combine the two parameters, like “-iP”, to avoid misinterpretation by lsof.

Use sudo to include all the ports owned by system processes

For more details, run man lsof

 

Related articles

Andrew Fletcher16 Jan 2025
get IP address from terminal OSX
When troubleshooting network issues or configuring devices, knowing your IP address can be essential. Whether you're connected via Wi-Fi, Ethernet, or tethering through a mobile provider, macOS offers powerful built-in tools to quickly identify your IP address. Here's a practical guide tailored to...