Docker & Containers

What are Docker Containers Docker container is a standard unit which can be created on the fly from a docker image to deploy an application or environment. To run containers use "docker run" command. Syntax : docker run [options] image:tag docker run -d \ --name mywebsite \ -p 80:80 \ mywebsite:v1 Here,      -d for run in … Continue reading Docker & Containers

Docker Images

What are Docker images Docker image is a file, made up of multiple layers, used to execute code in a Docker container. An image is essentially built from the instructions for a complete and executable version of an application. When the user runs an image, it becomes one or multiple instances of that container. Docker … Continue reading Docker Images

Ansible Roles

Why use Ansible Roles Roles provide a framework for fully independent, or interdependent collections of variables, tasks, files, templates, and modules.In Ansible, the role is the primary mechanism for breaking a playbook into multiple files. This simplifies writing complex playbooks, and it makes them easier to reuse. The breaking of playbook allows you to logically … Continue reading Ansible Roles

Ansible Modules

What are Ansible Modules Ansible ships with a number of modules (called the "module library") that can be executed directly on remote hosts or through Playbooks. Users can also write their own modules. These modules can control system resources, like services, packages, or files (anything really), or handle executing system commands. Ansible modules can determine … Continue reading Ansible Modules

Ansible Vault

What is Ansible Vault In Ansible 1.5, "Vault" is a feature of ansible that allows keeping sensitive data such as passwords or keys in encrypted files, rather than as plaintext in your playbooks or roles. These vault files can then be distributed or placed in source control.To enable this feature, a command line tool, ansible-vault … Continue reading Ansible Vault