-
-
Notifications
You must be signed in to change notification settings - Fork 1
Installation using Docker
matamorphosis edited this page Jan 16, 2023
·
5 revisions
PLEASE FOLLOW CAREFULLY AS THERE IS INFORMATION PRINTED IN THE TERMINAL THAT WILL NEED TO BE RETAINED
Docker automates almost the entire installation process and doesn't give you the choice of OS, Ubuntu 20.04 is the current distribution used.
This guide assumes you have docker installed on your system already and know the essentials of docker and how its virtualised environments work.
- For those that are new to docker, running "docker run..." creates a new container, so all changes will be lost after the build. Use "docker start" followed by "docker attach" to not overwrite changes.
- Unlike the regular installation of Google Drive Access Governance, the IP address displayed on run is not the IP address you access GDAG from. This is because GDAG is running in a Docker container on your host in a virtualised network. This network uses network address translation (NAT) and the
docker run
command below maps the internal port 443 in your virtualised environment to port 443 on your host so you can access it. You need to access GDAG using the NAT IP address. If running Docker on a Linux host you can use theifconfig
or theip addr
command to find the Docker IP address on your host, that will be the IP address used to access GDAG. - Only one option is supported for running dockerised GDAG, which is through
docker-compose
. Not usingdocker-compose
will significantly increase the difficulty of getting the platform working. - It is not recommended to expose either of the GDAG images to the internet. This platform is designed for internal use only.
- If not done already, navigate to the Docker Installation directory
user@linux:~$ cd GDAG
- Bring up container using the following commands.
user@linux:/<PATH-TO-GDAG>$ docker-compose up
- If you want to upload your own certificate pair, copy the private key and the certificate to the
/certs
directory in thegdag-appliance
container:
user@linux:/<PATH-TO-GDAG>$ docker cp privateKey.key [CONTAINER-ID]:/certs/privateKey.key
user@linux:/<PATH-TO-GDAG>$ docker cp certificate.crt [CONTAINER-ID]:/certs/certificate.crt
- Find your docker container's IP address through using either the
ifconfig
oripconfig
command. Then navigate tohttps://[DOCKER-IP-HERE]
, accept the certificate (if using self-signed), and log in with the useradmin
and the password provided to you in the previous step. In most cases you can usehttps://localhost