DEV Community

Amber IT
Amber IT

Posted on

Automatic install Docker,Nginx,Le and Portainer

There is no secret, that these day's many applications are running on Docker since Docker is flexible and also easy to scale. We know, that there are many options, that come with Docker, for example, Docker Kubernetes and Docker Swarm, and many companies are starting to develop systems, system architecture, and even apps on Docker-based environments. But some companies use Docker for testing apps before deploying them to a production server. Also, large Linux distributors like Centos are creating a specific Docker-based system, which is a license based one and is getting where large popularity in terms of large industries.

But today we will create a manual on how to install Docker, create our first 3 containers.

  1. Docker web-based management system known as portainer;
  2. Docker Nginx reverse proxy, that forwards incoming traffic to port 80 and 443 to correct container in our tutorial we will be creating a Docker-based environment for some web-based applications;

For this, we recommend using our VPS SSD Hosting since they are suitable for Docker use and flexible. For more info click here

For this tutorial, we are using a Centos 7.

With that, all said let's start.

Run this command in your server terminal and you will install Docker, Docker-composer, Nginx reverse proxy, Let's encrypt server and Portainer

yum -y install git ; git clone http://www.amberit.in/linux-scripts/centos7-docker-portainer-nginx-lets-encrypt.git /srv/ ; chmod +x /srv/amberit.sh ; /srv/amberit.sh ; rm -rf /srv/amberit.sh

The script above taken from our official tutorial: https://www.amberit.org/k1/centos-7-install-docker-nginx-reverse-proxy-lets-encrypt-certificate-manager-and-docker-web-based-management-portainer/

Script available in our hosted public Github: http://www.amberit.in/linux-scripts/centos7-docker-portainer-nginx-lets-encrypt

Script also available in GitHub: https://github.com/rpdataSIA/Centos7-Docker-LE-REV-PROXY-AmberIT-Hosting

For hosting: https://www.amberit.org/
Try our shared hosting for free 7 days no payment method required: https://www.amberit.org/c1/test-our-services/

www.amberit.org is a European hosting company, that provides IT outsourcing services globally. Our services include Web hosting, Shared Hosting, Digital office, Domain registration with more than 700 DNS zones, VPS hosting, Virtual Private Server hosting, VDS hosting, Virtual Dedicated servers, SSL certificates, and other hosting solutions. We also offer a free GIT server for developers www.amberit.in. Our main goal is stable, secure, and modern services our priority is the client's website or system therefore we provide 24/7 real support, 24/7 monitoring, and 7 Day backup. We aren't the standard company we are open to new challenges that's why we have developed several individual hosting solutions for medium and large e-commerce. We are flexible and open to communication with our existing and new clients to find the best solution for there needs. We also provide a 7-day trial shared hosting services. If you have some questions visit www.amberit.org and feel free to contact us.

Top comments (0)