Changes

Jump to navigation Jump to search
161 bytes added ,  12:36, 27 May 2017
Line 26: Line 26:  
Start/run with a different entry point:
 
Start/run with a different entry point:
 
  docker run -ti --entrypoint=sh user/test_image
 
  docker run -ti --entrypoint=sh user/test_image
 +
 +
== Restart exited container ==
 +
docker start  `docker ps -q -l` # restart it in the background
 +
docker attach `docker ps -q -l` # reattach the terminal & stdin
    
== Create & Publish image ==
 
== Create & Publish image ==

Navigation menu