-
Download the IERT-compose zip from IEHUB from IEDK which contains the following.
- capabilities_all_disabled.json here
- edge-iot-core-container_1.10.0-4_amd64_docker_compose.yaml here
- edge-iot-core-container_1.10.0-4_amd64.tar.xz - IERuntime Container Image tarball
NOTICE
For using
edge-iot-core-container_1.10.0-4_amd64_docker_compose.yamlrename it todocker-compose.yml. -
Rename
capabilities_all_disabled.json filetocapabilities.jsonand copy the capabilities.json to /etc on host filesystem. - You may have to load the image tar file
- docker load -i
<image tar file>
- docker load -i
- Modify the below-listed parameter values
- HostIps : Supply it with the current IP Address of the system
-
Run Industrial Edge Services
- docker-compose up -d
<YMLFile> - or to deploy via Docker Run Command
- Run the downloaded image using proper arguments and environment variables docker run -itd --restart=always -e HostIps='x.x.x.x' -v /etc/ssl/certs/:/etc/ssl/certs/ -v /var/lib/docker/volumes:/host-system/var/lib/docker/volumes -v /var/lib/docker/containers:/var/lib/docker/containers -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker/edge-iot-core/Database:/var/lib/redis -v /var/lib/docker/edge-iot-core/Data:/data -v /var/lib/docker/edge-iot-core/Data:/var/lib/docker/edge-iot-core/Data -v /var/lib/docker/edge-iot-core/apps:/etc/nginx/conf.d/apps -v /var/lib/docker/edge-iot-core/app_engine:/etc/app_engine -v /var/lib/docker/edge-iot-core/profile.d:/etc/profile.d/ -v /var/run/devicemodel:/var/run/devicemodel -v /etc/pki/tls/certs/:/etc/pki/tls/certs/ -v /etc/pki/tls/private/:/etc/pki/tls/private/ -v /dev/log:/dev/log -v /var/log/journal:/host-system/var/log/journal:ro -v /etc/capabilities.json:/data/app_engine/Configuration/capabilities.json --publish 443:443 --publish 9443:8443 --pid=host --name edge-iot-core <image-name> - docker-compose up -d
NOTICE
The HostIps field in JSON file contains comma-separated IP addresses.