linux_wiki:docker_image_devel

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
linux_wiki:docker_image_devel [2019/07/20 18:08]
billdozor [Run Container From Registry]
linux_wiki:docker_image_devel [2019/07/21 16:10]
billdozor [Docker: Image Development]
Line 6: Line 6:
  
 **Checklist** **Checklist**
-  * Docker installed +  * [[linux_wiki:docker|Docker installed]] 
-  * Account on docker hub or private registry setup+  * A [[https://docs.docker.com/get-started/part2/#define-a-container-with-dockerfile|Dockerfile]] to build 
 +    * [[https://docs.docker.com/develop/develop-images/dockerfile_best-practices/|Best practices for Dockerfiles]] 
 +  * Account on [[https://hub.docker.com/|docker hub]] or [[https://docs.docker.com/registry/deploying/private registry]] setup
  
 ---- ----
  
 ====== Building/Testing Images ====== ====== Building/Testing Images ======
- 
-Best practices for Dockerfiles: https://docs.docker.com/develop/develop-images/dockerfile_best-practices/ 
  
 \\ \\
Line 65: Line 65:
  
 \\ \\
-Run container interactively with a bash shell(latest tag is default)+Run container interactively with a bash shell (latest tag is default)
   * Docker Hub<code bash>docker run -it --name mycontainername dockerhubuser/myimage /bin/bash</code>   * Docker Hub<code bash>docker run -it --name mycontainername dockerhubuser/myimage /bin/bash</code>
   * Private Registry<code bash>docker run -it --name mycontainername registryhostname.my.domain.com/myimage /bin/bash</code>   * Private Registry<code bash>docker run -it --name mycontainername registryhostname.my.domain.com/myimage /bin/bash</code>
  • linux_wiki/docker_image_devel.txt
  • Last modified: 2019/07/21 16:10
  • by billdozor