Difference between revisions of "Docker Installation"

From Lingoport Wiki
Jump to: navigation, search
(Created page with "= Work in Progress = This installation is for a future release. == Centos Docker Installation == See: https://docs.docker.com/engine/install/centos/ == LocalyzerQA Docker...")
 
(Run the container)
Line 30: Line 30:
   
 
=== Run the container ===
 
=== Run the container ===
docker run -dp 8085:8080 -v "/c/Users/Olivier/Documents/app/log":/usr/local/tomcat/log -v "/c/Users/Olivier/Documents/app/logs":/usr/local/tomcat/logs -v "/c/Users/Olivier/Documents/app/config":/usr/local/tomcat/lingoport ljilingoport/localyzerqadev
+
docker run -dp 8085:8080 -v "/home/centos/localyzerqa/log":/usr/local/tomcat/log -v "/home/centos/localyzerqa/logs":/usr/local/tomcat/logs -v "/home/centos/localyzerqa/config":/usr/local/tomcat/lingoport ljilingoport/localyzerqadev

Revision as of 21:35, 16 June 2022

Work in Progress

This installation is for a future release.

Centos Docker Installation

See: https://docs.docker.com/engine/install/centos/

LocalyzerQA Docker Installation

Prereq

  • Make sure you have MySQL installed on disk
  • Make sure you have the logs and config locations setup, for example:
   centos > pwd
   /home/centos/localyzerqa
   centos > ls -l
   total 0
   drwxrwxr-x. 2 centos centos 6 Jun 16 21:32 config
   drwxrwxr-x. 2 centos centos 6 Jun 16 21:32 log
   drwxrwxr-x. 2 centos centos 6 Jun 16 21:32 logs


  • Check the local images
   docker ps

You may have previous LocalyzerQA images. You may want to remove them.

Get the image

   docker run -dp 8085:8080 ljilingoport/localyzerqadev
   docker ps

Run the container

   docker run -dp 8085:8080 -v "/home/centos/localyzerqa/log":/usr/local/tomcat/log -v "/home/centos/localyzerqa/logs":/usr/local/tomcat/logs -v "/home/centos/localyzerqa/config":/usr/local/tomcat/lingoport ljilingoport/localyzerqadev