Docker¶
Docker-compose¶
-
Create a
docker-compose.yml
file:version: '3.1' services: enclave-fabric: container_name: fabric image: enclavenetworks/enclave:latest restart: always cap_add: - NET_ADMIN devices: - /dev/net/tun environment: ENCLAVE_ENROLMENT_KEY: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX volumes: - enclave-config:/etc/enclave/profiles - enclave-logs:/var/log/enclave volumes: enclave-config: enclave-logs:
-
Replace
XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
with yourDefault Enrolment Key
-
Bring the container up using
docker-compose up -d
-
Verify Enclave is running insider the container with
docker exec fabric enclave status
What to do if the install fails¶
For troubleshooting and errors, use the site search or visit our troubleshooting section to look for information about common error messages. If your installation fails and you are unable to resolve the problem by retrying, please contact support@enclave.io.