Explorar o código

Update 'docker_commands'

Laurie Summers hai 1 ano
pai
achega
90118199ff
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      docker_commands

+ 5 - 1
docker_commands

@@ -1,3 +1,7 @@
 docker start containerid
 docker start containerid
 
 
-docker stop $(docker container ls -q)  (Stops all containers)
+docker stop $(docker container ls -q)  (Stops all containers)
+
+If ports are being used even when container is not running then you can stop DOcker and restart.
+sudo service docker stop
+sudo service docker start