Home - novelinux/docker GitHub Wiki

构建

$ docker build -t iot/centos:6-php5 -f Dockerfile .

运行

$ docker run  -it --user root \
    --mount type=bind,source=/home/liminghao/data/mi/iot,target=/home/work/workspace/mi/iot/ \
    iot/centos:6-php5 \
    bash