1617257300
In this blog you will come to know about what is Ansible, Docker and what is the need of launching a docker with ansible, in which cases you can use this tools. If you are reading this blog then you have heard this terms earlier. No problem I will discuss eveything here.
Ansible is an open-source software provisioning, configuration management, and application-deployment tool enabling infrastructure as code. It runs on many Unix-like systems, and can configure both Unix-like systems as well as Microsoft Windows.
In simple terms it is a Automation tool. It is useful when you want to configure 2 or more number of systems. You think that we can also do this automation with a programming language like python, R, scala, java …etc.
But that languages should know what to do and how to do?
In ansible we only say what to do? It is declarative type of language. It doesn’t have any personal language. It uses YAML for writing the tasks.
Ansible has a feature called playbook where we can write a group of tasks and can be easily executed on the remote server or node.
Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers. In simple terms it is a light weight virtualization.
Docker is easy to carry and can run in different environments with out crashing the application as it contains all the dependencies.
If we want our application to run continuously in different environments we have to configure the docker. As there is also a requirement for installing and configuring the software inside the docker.
Steps involved in configuring a docker with a webserver installed in it.
#docker #devops #ansible
1595249460
Following the second video about Docker basics, in this video, I explain Docker architecture and explain the different building blocks of the docker engine; docker client, API, Docker Daemon. I also explain what a docker registry is and I finish the video with a demo explaining and illustrating how to use Docker hub
In this video lesson you will learn:
#docker #docker hub #docker host #docker engine #docker architecture #api
1619564940
If you have recently come across the world of containers, it’s probably not a bad idea to understand the underlying elements that work together to offer containerisation benefits. But before that, there’s a question that you may ask. What problem do containers solve?
After building an application in a typical development lifecycle, the developer sends it to the tester for testing purposes. However, since the development and testing environments are different, the code fails to work.
Now, predominantly, there are two solutions to this – either you use a Virtual Machine or a containerised environment such as Docker. In the good old times, organisations used to deploy VMs for running multiple applications.
So, why did they started adopting containerisation over VMs? In this article, we will provide detailed explanations of all such questions.
#docker containers #docker engine #docker #docker architecture
1596691740
The image manifest provides a configuration and a set of layers for a container image.
This is an experimental feature. To enable this feature in the Docker CLI, one can edit the config.json file found in ~/.docker/config.json like :
{
"auths": {
"https://index.docker.io/v1/": {
"auth": "XXXXXXX"
}
},
"HttpHeaders": {
"User-Agent": "Docker-Client/19.03.8 (linux)"
},
"experimental": "enabled",
"debug": true
}
The docker manifest command does not work independently to perform any action. In order to work with the docker manifest or manifest list, we use sub-commands along with it. This manifest sub-command can enable us to interact with the image manifests. Furthermore, it also gives information about the OS and the architecture, that a particular image was built for.
A single manifest comprises of information about an image, it’s size, the layers and digest.
A manifest list is a list of image layers (manifests) that are, created by specifying one or more image names. It can then be used in the same way as an image name in docker pull
and docker run
commands.
After enabling this feature, one would be able to access the following command :
These commands are easy to use. It basically avoids the need for pulling and running and then testing the images locally, from a docker registry.
Next, to inspect an image manifest, follow this syntax,
docker manifest inspect image-name
.
#devops #docker #devops #docker #docker learning #docker-image
1597368540
Docker is an open platform that allows use package, develop, run, and ship software applications in different environments using containers.
In this course We will learn How to Write Dockerfiles, Working with the Docker Toolbox, How to Work with the Docker Machine, How to Use Docker Compose to fire up multiple containers, How to Work with Docker Kinematic, Push images to Docker Hub, Pull images from a Docker Registery, Push stacks of servers to Docker Hub.
How to install Docker on Mac.
#docker tutorial #c++ #docker container #docker #docker hub #devopstools
1572946450
This entry-level guide will tell you why and how to Dockerize your WordPress projects.
#wordpress #docker #dockerization #dockerize #ci/cd