Docker Project Build - zacharylongo/Tech-Journals GitHub Wiki

STEPS OF OPERATION

  1. Open MGMT01 clone on local box/Docker01 clone
  2. SSH into Docker01 from MGMT using script made for “Git + Linux SSH”
  3. Use Rancher’s “execute” command to start the container labeled “Longo Tracker”
  4. Container only includes the executable for “Longotracker” and “Longotracker.sh”
  5. (in the background) Longotracker then communicates with Longo Home network to check tile location data.
  6. (in the background) Longotracker then complies tile data and divides it as follows:

RANCHER PLUGINS/DOCKERHUB APPS

  1. https://hub.docker.com/r/rancher/rancher-agent
  2. https://hub.docker.com/r/rancher/server
  3. https://hub.docker.com/r/rancher/rancher-operator

CONFIGURATION CHANGES

  1. Use "docker config ls" to find Rancher and consequently its security config. Set the security value to 0 instead of 1. (this turns it off)

NOTES ON INFRASTRUCUTRE REQUIREMENTS:

  • As this project relies on existing infrastructure it may be impossible to replicate.

  • This project relies on pre-existing Kubernetes Multi-cluster management already being in place.

  • Longotracker is self-made and unavailable for general use due to its sensitive/personal nature.


BUILD PROCESS (This assumes that a fresh docker box and server manager are already set-up and usuable)

  1. Either copy a git repository for/ use docker to install Rancher
  2. Change Rancher config to have no security (described above)
  3. Use Rancher to connect to proxy Kubernetes multi-cluster network (in this case, a private one hosted hundreds of miles away)
  4. Use Rancher to pull Longotracker from the aforementioned network
  5. As the network addresses remain the same for this project, Longotracker should already know where to point itself.
  6. Longotracker may take several minutes to calibrate and for the proxy network to connect to Tile's database.
  7. Once database connection is established, Longotracker will automatically output data.
  8. BUILD COMPLETE