Installing Docker on a windows machine.
- Follow the link here to go to the docker website and download it.
- Select Download from Docker hub and click on this button (this is a free download)
Docker Download for Windows - Once the download has been completed open the installer and follow the prompts to completed the installation of Docker. Once installed you will be required to restart your computer before running the Docker software.
Note: To run docker on Windows 10 Home, you must:
- be operating as the machine administrator user profile
- Have WSL2 Linux Kernel installed and updated here
- After the restart, open Docker Desktop. The Docker Whale Symbol should also appear in your bottom toolbar.
The FIMS is operated on a software platform called Liferay. The next step is to host the Liferay platform through docker using Docker Compose
Familiarization with Docker Compose and Hosting of Liferay
- Open Docker Desktop and command prompt
- Follow the instructions given on the following link to carry out an exercise to practice using Docker Compose.
Download Files from Drop Box
- Download the
docker-compose.yml
file,Backup
andVolumes
folder onto your local directory with the same directory structure as on the dropbox
Hosting Liferay
- Open Docker Desktop
- Open Command prompt and navigate to the directory (cd prompt) containing the saved files from step 1 (docker-compose, backup, volumes)
- In command prompt, start the application by running
docker-compose up -d
- Goto Local Host in a browser to see the application running. At this stage this will show the Liferay platform home screen. Part 3 will explain how to install/restore the Forest Information Management System onto the Liferay platform.
Configuration and Installation of FIMS
Access site from another computer on local LAN
- Enter IP address of the host computer into browser followed by port 8080. e.g 192.168.x.xx:8080 and confirm FIMS loads. This confirms the site is being hosted on the local LAN.
- Return to the docker interface and select the ‘Stop’ Button, or in the command prompt Ctrl + C or
docker-compose stop
command.