ഇതൊഴിവാക്കി പ്രധാന ഉള്ളടക്കത്തിലേക്ക് പോവുക

പോസ്റ്റുകള്‍

ജൂലൈ, 2020 തൊട്ടുള്ള പോസ്റ്റുകൾ കാണിക്കുന്നു

How to create a local docker images repository?

Prerequisites 1.  Docker and docker-compose.      > apt-get install docker     > apt-get install docker-compose      In Centos,       >  yum install docker-compose      > yum install docker-compose 2.  Nginx ,       command: apt-get install nginx.     In Centos,        >yum install nginx 3.  Self -Signed SSL certificate for Nginx. 4.  apache2-utils to restrict image access using user name and password.      command: apt-get install apache2-utils     In Centos,         >  yum install   httpd-tools 5.  Nano editor (you can use any editor you like). Command: apt-get install nano In Centos,   > yum install nano Let's Begin,   First, we need to create a docker-registry to keep images and authentication data.   1. Let's create a docker-registry directory and data,auth directories inside root.   > mkdir ~/docker-registry && cd $_ > mkdir data > mkdir auth Now create a docker-compose.yml file and add the following content //Creating a docker-compos