docker build -t IMAGE_NAME .
NOTE: This build can be used to produce containers for both the client and gateway.
docker run -it IMAGE_NAME
- Copy the Gateway folder into your Gateway container.
- Edit the gateway_config file to the perfrmance parameters of your choice.
- Run the server.py file (python server.py) from inside the Gateway folder.
- Check the ip of your Gateway container from a terminal in the host. (docker inspect --format '{{ .NetworkSettings.IPAddress }}' CONTAINER_ID)
- Copy the Client folder into your Client container and enter the folder.
- Edit the client_config file to the docker ip of the gateway container, performance parameters and AWS credentials.
- Run the client.py file (python client.py)
- Follow the command line.
NOTE: Make sure you are connecting to the right docker ip.