2016年8月10日 星期三

docker deployment

deploying app with docker works like a breeze! for example, the openshift system can be grabbed & run with the following command:

$ sudo docker run -d --name "origin" \
        --privileged --pid=host --net=host \
        -v /:/rootfs:ro -v /var/run:/var/run:rw -v /sys:/sys -v /var/lib/docker:/var/lib/docker:rw \
        -v /var/lib/origin/openshift.local.volumes:/var/lib/origin/openshift.local.volumes \
        openshift/origin start

REF: https://docs.openshift.org/latest/getting_started/administrators.html#running-in-a-docker-container

沒有留言:

張貼留言