You must have Docker Engine installed. See https://docs.docker.com/get-docker/ for information on how to do that.
Start a command session to the Docker host and make sure you can run docker commands. If necessary sudo to root or other user.
...
Tip |
---|
If you need to use additional libraries or files you can place them under /scratch/DockerVolume/flexdeploy. You can then copy the necessary file from inside of the container to wherever they need to go. For example any additional libraries can go from /home/oracle dockervolume to /usr/local/tomcat/libext. |
...
p
- in this example 8000 is the port which FlexDeploy will be accessed on mapping to port 8080 in the containerFLEX_DB_URL
- jdbc URL for accessing the database. See below for syntaxFD_ADMIN_PWD
- Password for the fdadmin user in the databaseTZ
- Time zone for the container. Given example is America/Chicago.dbtype
- if you are using postgres or oracle database.INFLUX_DB_USER
- Username for the built in influxdb. This can be any username of your choosing.INFLUX_DB_PASSWORD
- Password for the built in influxdb. Username and password are only used upon first initialization. After that token is used to connect to the database. This can be any random secure word/text of your choosing.INFLUX_DB_TOKEN
- Token used to connect to the built in influxdb. This can be any random secure word/text of your choosing.v
- This will set where your application, repository, vsm and logs folders will go on the docker host. Everything before the colon is on the local machine, after is inside the container. Leave that as /home/oracledockervolumeLast is the image which will be flexdeploy/fd_tcat: and the version you want to run.
Code Block | ||
---|---|---|
| ||
docker run --name flexdeploy -p 8000:8080 -e FLEX_DB_URL="jdbc:oracle:thin:@URL:PORT:xe" -e FD_ADMIN_PWD=DATABASEPASSWORD -e TZ=America/Chicago -e dbtype=oracle|postgres -e INFLUX_DB_USER=flexdeploy -e INFLUX_DB_PASSWORD=INFLUXDBPASSWORD -e INFLUX_DB_TOKEN=INFLXUDBTOKENHERE -v /scratch/DockerVolume/flexdeploy:/home/oracledockervolume flexdeploy/fd_tcat:VERSION |
...