- see docker Containers
docker -ps -a
- restart docker Containers
docker restart Containers ID( Or container name )
- Report errors : bind: address already in use
- View the process of port number listening , obtain pid,lsof Other uses of commands
lsof -i: Port number or netstat -tunlp | grep Port number
- according to pid Kill the process ,-9 Parameter indicates strong deletion , The other parameters
kill -9 process pid
- restart docker Mirror image
- Check if a port is being monitored , Or what port a process listens on
netstat -an | grep Port number netstat -nltp | grep Process name