Skip to content

Instantly share code, notes, and snippets.

View prakasha4devops's full-sized avatar

Prakash A prakasha4devops

View GitHub Profile
@prakasha4devops
prakasha4devops / docker_cert_notes.txt
Created October 8, 2019 15:37 — forked from miguelmota/docker_cert_notes.txt
Docker Certified Associate (DCA) prep notes
tiers-basic:platform for certified infrastructure, standard:advanced image and container management, LDAP,RBAC , advanced:security scanning
docker swarm:clustering and scheduling tool
docker swarm manager:responsible for validating, logging the state of and distributing instructions to docker swarm workers
docker service daemon is installed on every node in a swarm (manager or worker)
managers:use a consensus algorithm to maintain quorum (require a min of 2 managers)
workers: register with managers and receive workloads from them
services:an application that exist and hosted across workers
RBAC:roll based access control
/etc/docker/daemon.json
/var/lib/docker/containers
@prakasha4devops
prakasha4devops / playbook_centos_install_docker.yaml
Created December 6, 2018 17:20 — forked from yonglai/playbook_centos_install_docker.yaml
An Ansible playbook to install docker-ce on Centos
---
- name: Install docker
gather_facts: No
hosts: default
tasks:
- name: Install yum utils
yum:
name: yum-utils
state: latest
@prakasha4devops
prakasha4devops / links.md
Created May 26, 2018 22:24 — forked from g0t4/links.md
Starting Point Files for Jenkins2 Getting Started course
@prakasha4devops
prakasha4devops / fn_remove_accents.sql
Created November 1, 2017 09:56 — forked from jgdoncel/fn_remove_accents.sql
MySQL Function to remove accents and special characters
DROP FUNCTION IF EXISTS fn_remove_accents;
DELIMITER |
CREATE FUNCTION fn_remove_accents( textvalue VARCHAR(10000) ) RETURNS VARCHAR(10000)
BEGIN
SET @textvalue = textvalue;
-- ACCENTS
SET @withaccents = 'ŠšŽžÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÑÒÓÔÕÖØÙÚÛÜÝŸÞàáâãäåæçèéêëìíîïñòóôõöøùúûüýÿþƒ';