Companion image for the edge computing book
379
This repository contains the contents of the Docker Companion used in the Manning book Making Sense of Edge Computing. The Docker image can either be built from this repository or pulled prebuilt from the Docker Hub repository: edgecomputingbook/companion.
As stated earlier, there are two ways to get (or update) the Companion image in Docker: build or pull.
You can build the Companion image from the code in this repository by running the following:
docker build -t edgecomputingbook/companion .
You can pull the Companion image from the Docker Hub by running the following:
docker pull edgecomputingbook/companion
The easiest way to run the companion Docker image is to run the following:
docker run --rm -it [-p 8181:8181] edgecomputingbook/companion
The -p 8181:8181 is required if you want to interact with the edge computing testbed's web-based administration dashboard.
If you are familiar with the terminal or command prompt of your operating system, the scripts included in this image can be run manually outside of Docker if your system has has the following requirements:
NOTE: The included scripts are written for a Linux base used in the Docker image. If you wish to use these on a Windows machine, you will need to either write .bat files or run the code in the scripts manually.
The main file used to run the edge computing testbed is the agent-1.0-SNAPSHOT.jar file. You can either copy this file to the location used in the scripts, or modify the scripts to use the current location of this file. Afterwards, the examples should work similar in your native operating system.
Content type
Image
Digest
Size
260.9 MB
Last updated
over 6 years ago
docker pull edgecomputingbook/companion