首页 > 其他 > 详细

dockerfile note

时间:2018-04-08 17:13:32      阅读:155      评论:0      收藏:0      [点我收藏+]

dockerfile reference

  1. defination
    docker can build images automatically by reading the instructions from a dockerfile. dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image.

  2. usage
    the docker build command builds an image from a dockerfile and context. the build‘s context is the set of files at a specified location PATH or URL. warning: don‘t use PATH /, because it can transfer the entire contents of your hard drive to the docker daemon.
    docker build -f /home/vickey/dockerfile .

  3. format

    a. not case-sensitive but convention is UPPERCASE

dockerfile note

原文:https://www.cnblogs.com/vickey-wu/p/8745953.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!