Dockerãªãããã£ã¨ããã£ããDockerã®CMDã¨ENTRYPOINTã£ã¦ãã説æããã¦ããENTRYPOINTã¯runæã®å¼æ°ãENTRYPOINTã®å¼æ°ã«ãªãããCMDã®ã¨ãã¯runæã®å¼æ°ããã®ã¾ã¾ç½®ãæããããã ããããããªæãã®èª¬æã ããªã®ã§ãããããããªãã£ããè¦ããã«ENTRYPOINTã£ã¦ã®ã¯çµ¶å¯¾ãªããã ãrunãã人ãå¤ããããªããDockerfileä½è ã絶対ã«å®è¡ãããã³ãã³ãã£ã¦ãã¨ãCMDã¯ãrunãã人ãã ãã§ç½®ãæãããããã®ãã§ãENTRYPOINTã¯çµ¶å¯¾ãªãã ãã©ãããã«å¯¾ããå¼æ°ã¯ã¦ã¼ã¶ã«é¸ãã§ããã£ã¦ãããã£ã¦ã¨ãã¯ãä½µç¨ãããã ã ENTRYPOINT ["ls", "-l"] CMD ["-a"] ããä¾ãæµ®ãã°ãªãã£ããã©ãls -lã¯å¤ããããªããrunæã«ãªã«ãæå®ããªããã°ls -l -aã«ãªããrunæã«-tãæå®ãããCMDãç½®ã
{{#tags}}- {{label}}
{{/tags}}