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
Last revisionBoth sides next revision
projects:docker_intro [2016/03/13 20:58] – [What is Docker ?] mkuciaprojects:docker_intro [2016/03/13 21:47] – [Usage] mkucia
Line 71: Line 71:
 ===== Installation ===== ===== Installation =====
  
-  * Install toolbox+  * Ensure if the CPU virtualization is enabled in BIOS. 
 +  * Install Docker toolbox (https://www.docker.com/products/docker-toolbox) 
 +    * Do not install Virtual Box if it is already installed.
   * 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 80: 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 build -t maciejkucia/myapplication .''
 ===== What next? ===== ===== What next? =====
-  * Volumes 
-  * Networking 
-  * Logging 
-  * Orchestration 
  
 +See "Dockerize an application" examples (https://docs.docker.com/engine/examples/)
 +
 +
 +Learn about:
 +  * Volumes (https://docs.docker.com/engine/userguide/containers/dockervolumes/)
 +  * Networking (https://docs.docker.com/engine/userguide/networking/dockernetworks/)
 +  * Logging, Orchestration (Docker Compose) ...
 +
 +
 +Explore Docker Hub (https://hub.docker.com/)
 ===== References ===== ===== References =====
 https://docs.docker.com/engine/reference/glossary/ https://docs.docker.com/engine/reference/glossary/
projects/docker_intro.txt · Last modified: 2016/03/13 21:57 by mkucia