docker:start

Differences

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

Link to this comparison view

Next revision
Previous revision
docker:start [2019/07/16 17:28] – created tomdocker:start [2021/09/02 21:36] (current) – [misc] tom
Line 2: Line 2:
  
 ===== todo ===== ===== todo =====
 +
 +==== ENTRYPOINT vs CMD ====
 +
 +The idea is: it should run with AND without the command name. Example with yamllint:
 +
 +  * ''docker run --rm local/yamllint --version''
 +  * ''docker run --rm local/yamllint yamllint --version''
 +
 +See: https://hub.docker.com/r/pipelinecomponents/base-entrypoint
  
 ==== docker utils ==== ==== docker utils ====
Line 15: Line 24:
 What to do with labels? What to do with labels?
  
 +  * 8-) https://speakerdeck.com/garethr/shipping-manifests-bill-of-lading-and-docker-metadata-and-container 
 +  * https://github.com/microscaling/microscaling/blob/master/Makefile : Makefile for docker builds with labels and whistles
 +
 +
 +What others do with labels? Examples:
 +
 +  * https://docs.openshift.com/container-platform/3.11/creating_images/metadata.html automated workflow labels
 +  * https://github.com/projectatomic/ContainerApplicationGenericLabels automated workflow labels
 +
 +Tools :
 +
 +  * https://github.com/garethr/docker-label-inspector : linter for Docker Labels
 +
 +Documentation:
 +
 +  * https://docs.docker.com/config/labels-custom-metadata/#key-format-recommendations
   * https://github.com/opencontainers/image-spec/blob/master/annotations.md   * https://github.com/opencontainers/image-spec/blob/master/annotations.md
-  * [[https://github.com/containous/traefik-library-image/blob/70857afb0be3c5b7f9c2be685fdfef62d5dcfa8c/alpine/Dockerfile|exemple de labels dans traefik]]+ 
 +==== tags ==== 
 + 
 +  * [[https://github.com/docker-library/faq#whats-the-difference-between-shared-and-simple-tags|What's the difference between "Shared" and "Simple" tags?]] 
 +    * Basic example with the [[https://github.com/docker-library/docs/tree/master/hello-world|hello-world image]]
  
 ==== healthcheck ==== ==== healthcheck ====
Line 25: Line 54:
  
 ===== shell-fu ===== ===== shell-fu =====
 +
 +===== misc =====
 +
 +  * https://pythonspeed.com/articles/importerror-docker/ : python in docker pitfalls
 +  * https://github.com/github/super-linter/blob/master/Dockerfile : 50 ''FROM'', then ''COPY'' the world into a final ''alpine'' image.
 +
  • docker/start.1563290895.txt.gz
  • Last modified: 2019/07/16 17:28
  • by tom