All That you need to know about Docker Volumes.

https://miro.medium.com/max/3172/1*y6CvfE6WUgoIdT8Mp0Ev_g.png Bind Volumes: How Map folders in your Docker host to your container First lets create folder in our docker host root@master:~# mkdir mysql root@master:~# ls index.html mysql snap Map the new folder to the folder in the container root@master:~# docker run -d -v /mnt/mysql:/var/lib/mysql --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw mysql Now, Lets enter to the … Continue reading All That you need to know about Docker Volumes.

Change Docker Root Directory location.

In this post i am going to show you how to find the Docker Root Directory and how to change the location so that docker can save the files in some other location (For Backup or High Availability). This is the commands to find and verify the Docker Root Folder. root@master:~# docker info | grep … Continue reading Change Docker Root Directory location.

Setup Jenkins(SSL) Using Docker & Nginx

Install Docker Engine | Install Docker Compose Login to your Linux Server. Create this directories. mkdir ~/jenkins mkdir ~/certs mkdir ~/nginx/conf.d Inside your nginx/conf.d/ directory create the jenkins.conf file: ubuntu@IT-Jenkins:~/nginx/conf.d$ touch jenkins.conf Copy this code to the jenkins.conf file: server { listen 80; server_name <server.domain.com>; location / { proxy_pass <http://jenkins:8080&gt;; } } Create Working Directory … Continue reading Setup Jenkins(SSL) Using Docker & Nginx