STEP 1 : I did successfully install docker via shell
• sub-step : verify that docker is running - OK
• sub-step : connect and disconnect to docker via terminal using an docker hub account credentials - OK
• sub-step : add non-root user to docker group - OK
• sub-step : get my host’s docker IP ADRESS 172.17.0.1 to allow its remote access from container (next on step 3)
*** editing cl ****
docker run --name tracim -p 8087:80
STEP 2 : I edited command line so to install tracim volumes and pull algoo/tracim image from shell
*** editing cl ****
docker run --name tracim -p 8087:80 ……. -v ~/var/www/clients/client1/web1/web/tracim/etc:/etc/tracim -v ~/var/www/clients/client1/
web1/web/tracim/var:/var/tracim -d algoo/tracim
*** source *******
https://hub.docker.com/r/algoo/tracim
STEP 3 : I did create and setup database and user on my host (VPS) with ISPConfig panel
• sub-step : change MariaDB server bind-address to host’s docker IP ADDRESS “172.17.0.1“ - OK
• sub-step : allow dbuser remote access to database - OK
*** editing cl ****
docker run --name tracim -p 8087:80 ……. - p 3306:3306 -v ~/var/www/clients/client1/web1/web/tracim/etc:/etc/tracim -v ~/var/www/
clients/client1/web1/web/tracim/var:/var/tracim -d algoo/tracim
STEP 4 : I did create .env file in tracim container root directory
• sub-step : set the .env file with the above created MariaDB database environment variable, such as
MYSQL_ROOT_HOST=<IPV4 ADDRESS>
MYSQL_PORT=3306
MYSQL_USER=<username>
MYSQL_PASSWORD=<password>
MYSQL_DATABASE=<tracimdb> - OK
*** editing cl ****