Anchor | ||||
---|---|---|---|---|
|
Tip |
---|
Step - by - step guide to how to Install Insights on Linux using Docker |
Prerequisite:
Install Docker:
On RHEL/Centos7:
- yum update
yum install yum-utils
- yum-config-manager --enable rhui-REGION-rhel-server-extras
- yum install docker
- systemctl start docker
- systemctl status docker
- systemctl enable docker (start docker at system boot)
On Ubuntu:
- apt-get update
- apt-get upgrade
- apt-get install docker.io
- systemctl start docker
- systemctl enable docker
Info |
---|
For docker commands please visit - https://docs.docker.com/edge/engine/reference/commandline/docker/ |
Build Docker Image:
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Build Image:
3. Convert files format to UNIX format : dos2unix * 4. Update config.env with the below specified values. config.env
5. Execute the docker build command where Dockerfile located. 6. To push the built image to repo. docker login -u <username> -p <password> repoinfra.cogdevops.com:8090 docker push repopush infra.cogdevops.com:8090/onedevopsinsights:<version> To run UIEngineAgentDaemon docker container: Insights Docker Installation |
Run docker containers EngineJar/Deploy war (Obsolete):
Expand | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Create Images:
Execute the following command: dos2unix * This command will convert downloaded files to UNIX format Overview of property to be set in config.env file:
Update config.env variables and run the below command from the path of copied files.
To list the containers - Let '614bcc4546de' be the containerID created, Example : docker logs 614bcc4546de
|
Expand | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||
Create Images -
Execute the following command: dos2unix * This command will convert downloded files to UNIX format
Overview of variables to be set in config.env
Create containers -
Let '614bcc4546de' be the containerID created, Example : docker logs 614bcc4546de
http://hostPublicIP:3000 for grafana |