Lorel / 0MQRxLua-MFR-POC

Try map filter reduce based on 0MQ and RxLua (et un peu de SGX)
0 stars 0 forks source link

SGX Docker configuration #1

Closed Lorel closed 7 years ago

Lorel commented 7 years ago

Configure SGX machines for the Docker Swarm workflow


SGX driver and platform

Docker config on SGX machines

In /etc/default/docker:

DOCKER_OPTS="-H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock --bip 172.27.0.1/16 --cluster-store=consul://172.16.0.74:8500 --cluster-advertise=eth0:2375 --label type=\"sgx\""

Full Swarm deployment

Run the script initialize_cluster.sh

Lorel commented 7 years ago

Docker overlay network does not work as expected (containers running on SGX machines cannot reach those running on VMs, and inversely) on Swarm cluster with nodes both from machines (SGX) and VMs But using a cluster with only machines (tested with the 2 SGX machines) works For the future, I'll try to use machines from newcluster pool (using the same network than SGX machines, i.e. 192.168.0.0/17, it should work out of the box) which are not used by OpenNebula