Installing Prerequisites
Last updated
Was this helpful?
Last updated
Was this helpful?
Here are the docker tools that are pre-requisites for Shine:
Docker Engine
Docker Machine
Install docker engine
This has all the details and steps to install docker on any operating system.
Command to install docker on Linux OS:
Install docker machine
Command to install on the linux operating system:
Depending on where the code is going to be deployed - physical machine or cloud server, drivers as below have to be installed.
Installation on a linux based OS:
Depending one which cloud platform is going to be used, we have to install the relevant driver for the same. Find below all cloud platforms that are currently supported:
For this tutorial we will go with google cloud, however the tutorial remains very similar for other platforms.
Google Compute Engine
If installation doesn't work, manually download the credentials.json file to the local, and set the GOOGLE_APPLICATION_CREDENTIALS
environment variable point to its location, such as:
Once the above setup is done we will need to modify our application deployment scripts.
Follow this link to install the docker machine - .
To deploy the code on a physical machine, we will need a virtual-box driver as shown in this link - . This link has all the relevant details to install the virtual-box on all operating systems.
The Google driver uses to get authorization credentials for calling Google APIs.
If docker-machine
is used from a GCE host, authentication occurs automatically via the built-in service account. Otherwise, and get through the oauth2 process with gcloud auth login
.