Custom Docker

In this practical, we are going to build a docker image, ship the image into a docker hub, and run the docker container.


Hi, guys in this blog we are going to learn how to run GUI like running GEDIT(editor), Firefox, Jupyter on top of a Docker container. Here we are creating our own image and running GEDIT(editor), Firefox, Jupyter.

GUI CONTAINER ON THE DOCKER

Docker is the best tool you can use if you want to develop one single application that can run and work uniformly at any environment, laptop or public cloud instance.

Benefits of Docker

  • Test, Roll Back, and Deploy.
  • Flexibility.
  • Collaboration, Modularity, and Scaling. and many more

After researching about Docker GUI, I concluded that very less used case where docker container is used for GUI purposes.


Container-based microservices architectures have profoundly changed the way development and operations teams test and deploy modern software. Containers help companies modernize by making it easier to scale and deploy applications, but containers have also introduced new challenges and more complexity by creating an entirely new infrastructure ecosystem.

Large and small software companies alike are now deploying thousands of container instances daily, and that’s the complexity of scale they have to manage. So how do they do it?

What is Kubernetes?

Containers

Kubernetes is an open-source container-orchestration system for automating computer application deployment, scaling, and management. …


Amazon Web Services is a subsidiary of Amazon providing on-demand cloud computing platforms and APIs to individuals, companies, and governments, on a metered pay-as-you-go basis. These cloud computing web services provide a variety of basic abstract technical infrastructure and distributed computing building blocks and tools.

AWS pre-trained AI Services provide ready-made intelligence for your applications and workflows. AI Services easily integrate with your applications to address common use cases such as personalized recommendations, modernizing your contact center, improving safety and security, and increasing customer engagement. Because we use the same deep learning technology that powers Amazon.com and our ML Services…


In this blog, we have gone a discuss How to run docker in docker in two different methods.

Docker: Docker is lightweight containerization that allows us to set up an infrastructure within one second with the help of images stored in Docker.

When gone a use Docker in Docker?

The question of running Docker in a Docker container occurs frequently when using CI tools like Jenkins.


What is Ansible Galaxy

Ansible Galaxy is a repository for Ansible Roles that are available to drop directly into your Playbooks to streamline your automation projects. It is easy to get up and running with Ansible. Even a new sysadmin could start automating with Ansible in a matter of a few hours. Ansible automates using the SSH protocol.


In this blog created a python script that will setup ansible and runs the Ansible playbook which will Provision and Configure a Docker Container, whenever an IP changes Dynamically Ansible will be updated IP in Inventory.

Ansible: It is used for Provisioning and Configuring this will allows us to write a code once make use forever best thing in Ansible is IDEMPOTENT in nature.

Docker: Docker is a lightweight containerization that allows us to set up an infrastructure within one second with the help of images stored in Docker Registry even we can create our own Image too you can…


In this blog, We are going to launch HAPROXY LoadBalancer and multiple WebServers on the top of the RHEL8 Linux through Ansible.

What is Load Balancer?

Load balancing refers to the process of distributing a set of tasks over a set of resources, with the aim of making their overall processing more efficient.

HAProxy (High Availability Proxy) is a TCP/HTTP load balancer and proxy server that allows a webserver to spread incoming requests across multiple endpoints.

Ansible

Ansible is a software tool that provides simple but powerful automation for cross-platform computer support. It is primarily intended for IT professionals, who use it for application deployment…


In this blog configuring a Jenkins using the Ansible Automation tool and integrating Ansible and Jenkins configuring dynamically on any platform like RHEL8,RHEL7, Fedora, Ubuntu most of versions

Ansible

Ansible is the simplest way to automate apps and IT infrastructure. Application Deployment + Configuration Management + Continuous Delivery.

Jenkins

Jenkins an open-source automation server which enables developers around the world to reliably build, test, and deploy their software.

Prerequisites

Python2 and Python3 Installed

Ansible Installed

Refer this for more information about Ansible setup

Starting our practical by configuring few files

Configure ansible.cfg file

Type your own path which you want to give inventory and roles_path here…


Linux partition

Partitioning also allows you to divide your hard drive into isolated sections, where each section behaves as its own hard drive. Partitioning is particularly useful if you run multiple operating systems. There are lots of powerful tools for creating, removing, and otherwise manipulating disk partitions in Linux.

Let’s dev into practical

Shut down your VM and increase the disk size

First, shut down your VM and increase the disk size. Here, I have increased the disk or added two new disks /dev/sde and /dev/sdh of size 30 GB. Then start your VM and go to the console.

Vinodhakumara

ARTH-School of technology, BCA graduate

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store