User Tools

Site Tools


projects:docker_intro

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:docker_intro [2016/03/13 21:07] – [What next?] mkuciaprojects:docker_intro [2016/03/13 21:57] (current) – [Usage] mkucia
Line 76: Line 76:
   * Setup environment variables accordingly to ''docker-machine env''   * Setup environment variables accordingly to ''docker-machine env''
 ===== Usage ===== ===== Usage =====
 +
 +  * docker-machine
   * run   * run
     * -d     * -d
Line 81: Line 83:
     * -p     * -p
     * -v     * -v
-    * +    * entrypoint 
 +  * ps 
 +  * images
   * build (Dockerfile) (python http server)   * build (Dockerfile) (python http server)
   * attach   * attach
   * exec   * exec
   * commit   * commit
 +  * login
   * export/save   * export/save
  
 +
 +
 +''docker run hello-world''
 +
 +''docker run -d hello-world''
 +
 +''docker run -d --name HELLO hello-world''
 +
 +''docker ps''
 +
 +''docker ps -a''
 +
 +''docker run -d -p 8000:80 --name dokuwiki istepanov/dokuwiki:2.0''
 +
 +''docker images''
 +
 +
 +
 +''docker build -t maciejkucia/myapplication .''
 ===== What next? ===== ===== What next? =====
  
projects/docker_intro.txt · Last modified: 2016/03/13 21:57 by mkucia