How to set the docker's env

  Docker run --net = "host" \ 
-p 5050: 5050 \
-e "MESOS_HOSTNAME = $ {HOST_IP}" \
-e "MESOS_IP = $ {HOST_IP}" \
-e "MESOS_ZK = zk: // $ {HOST_IP}: 2181 / mesos" \
-e "MESOS_PORT = 5050" \
-e "MESOS_LOG_DIR = / var / log / mesos" \
-e "MESOS_QUORUM = 1" \
-e "MESOS_REGISTRY = in_memory" \
-e "MESOS_WORK_DIR = / var / lib / mesos" \
-d \
Garland / mesosphere-docker-mesos-master

Recently, we would like to set all the mesos all of the docker, encountered a problem, the above-mentioned start-e environment variable is how to set up from the dockerhub download the mirror, and some did not start the introduction, it can not stand Build their own mirror is also convenient point, the old wall over the wall, how do you set up these variables in the mirror? Seek the guidance of the great God 2015-12-09 add comment share it

  • Weibo
  • QZONE
  • Micro letter

Did not find the relevant results

    Invited:

    Potm – 80 after IT man

    We agreed from:


    Can be written in dockerfile

    Heads up! This alert needs your attention, but it's not super important.