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