Posts

Showing posts from November, 2019

Docker Image Management

Image
In this post, we will be discussing docker image creation, management and before jumping into this article if you do not yet install Docker? then, I also recommend you to go through my previous post where I've discussed how to install Docker-CE or Docker EE. I would like to expose most of the things related to Docker Images. Assuming that now you have everything ready! that means Docker engine up and running. What is all about Docker Image? According to docker docs -- An image is an executable package that includes everything needed to run an application -- the code, runtime, libraries, environment variables and configuration files. The runtime of a docker image is called a Docker container. In simple words, an Image is nothing but a stopped container! Let me put my understanding into a picture first and then we explore all these possible syntax and examples. Docker Image Life cycle Let us talk about the docker image that was built with multiple layers. Docke...

DevOps Troubleshooting Tricks & tips

Image
Here in this post, I would like to collect all my daily challenges in my DevOps learning operations and possible workarounds, fixes links. I also invite you please share your experiences dealing with DevOps operations. DevOps Troubleshooting process Issue #1: Vagrant failed to reload when Docker installed in CentOS The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed! chmod 0644 /etc/systemd/system/docker.service.d/http-proxy.conf Stdout from the command: Stderr from the command: chmod: cannot access ‘/etc/systemd/system/docker.service.d/http-proxy.conf’: No such file or directory Here it is actually starting the vagrant box but it is not able to find a file called http-proxy.conf file. I would like to suggest for this issue, create the file and grant the permission as given: Now restart the vagrant box. usually it is blocker when you are starting couple vagrant boxes with single vagrant up comman...

Best Performance DevOps interview Questions

Image
I hope you all doing great with DevOps learnings! There is a huge demand for DevOps engineers, where people turning from the many freshers turning to DevOps Engineer roles and becoming experts after exploring. Here I would like to target the key DevOps tools as interview questions. Here I'm collecting interesting DevOps interview questions out of my experiences and some of my friends who attended in various companies. And also made some of them collected from the most highly professional session delivered in the YouTube tutorials. World-class DevOps Interview Questions SCM Questions Can we build some code from SVN and some from the GIT repository in a single Jenkins job? Merging two branches merge conflicting? How do you resolve it? What is the difference between git clone, git fetch and git pull? How do you deal with git remote repository? AWS Interview Questions  AMI instance took the snapshot from recently build instance, How can I create a new instance? ...

User Management on Universal Control Plane (UCP)

Image
This is a quick tutorial on Docker UCP usage for User Management. Docker UCP provides us multiuser management and Role-based user control. which allows us to create and manage users and teams in an organization. Let's take a look over this user management in detail in this post. First, we create Organization then we associate a couple of teams then after that add users to those teams. Login to your UCP management console. Create an Organization on UCP Click on the 'user management' in the left side pane. User Management on UCP Now in the right pane work area, you can click on the 'Create Organization' top right button. Enter your organization name a single word without any spaces. even though you enter the name in Capitals it will convert into lower case and store it. Create Organization on UCP To complete it click on the 'Create' button. Once Organization is created it will be listed in the work area. Click on the newly created org...

Docker Enterprise Edition installation on CentOS 7 plus UCP Installation

Image
Hello, dear DevOps Enquist, in this post I would like to discuss with you how to install Docker Enterprise Edition on CentOS 7 and plus Universal Control Plane (UCP) running to control the master and workers on three nodes(Virtualboxes). Amazed with the great features that incorporated into the UCP. You could do lot of things from your browser itself. In the last post I've explored about the swarm cluster that time I'd executed everything on CLI, but this time UCP Web UI. Why we need a Docker Universal Control Plane(UCP)? To make more production-ready setup we would do this experiment with three CentOS7 nodes. The following picture tells us how powerful UCP in Docker Enterprise Edition is. You can manage services, multiple deployments using stacks, summary and manage docker containers and their images. you can also add/remove nodes and get their status, category. Docker network full control on it. Storage volumes also you can manage from the UCP admin console. Ease of us...