fig

Setting up a docker / fig Mesos environment

[亡魂溺海] 提交于 2019-11-27 11:34:29
问题 I'm trying to set up a docker / fig Mesos cluster. I'm new to fig and Docker. Docker has plenty of documentation, but I find myself struggling to understand how to work with fig. Here's my fig.yaml at the moment: zookeeper: image: jplock/zookeeper ports: - "49181:2181" mesosMaster: image: mesosphere/mesos:0.19.1 ports: - "15050:5050" links: - zookeeper:zk command: mesos-master --zk=zk --work_dir=/var/log --quorum=1 mesosSlave: image: mesosphere/mesos:0.19.1 links: - zookeeper:zk command:

Can't install pip packages inside a docker container with Ubuntu

∥☆過路亽.° 提交于 2019-11-27 10:33:38
I'm following the fig guide to using docker with a python application, but when docker gets up to the command RUN pip install -r requirements.txt I get the following error message: Step 3 : RUN pip install -r requirements.txt ---> Running in fe0b84217ad1 Collecting blinker==1.3 (from -r requirements.txt (line 1)) Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/blinker/ This repeats several times and then I get another message: Could not find any downloads that

Can't install pip packages inside a docker container with Ubuntu

我是研究僧i 提交于 2019-11-26 17:57:08
问题 I'm following the fig guide to using docker with a python application, but when docker gets up to the command RUN pip install -r requirements.txt I get the following error message: Step 3 : RUN pip install -r requirements.txt ---> Running in fe0b84217ad1 Collecting blinker==1.3 (from -r requirements.txt (line 1)) Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))':