Introduction
Hello i am starting a series about DevOps , I need to share what i learn on daily basis for 360 day about DevOps. The journey will include Docker , Kubernetes , Ansible , Lead Management , Jenkins , aws , git , bash , terraform , elastic search and more... So if you are a beginner and you like to start same journey with me your welcome!
What is Docker
Docker is a set of platform as a service products that uses OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels. reference
What is Container
let's talk with an noobie language , basically a container is like real life container he ship specific items . Same here let's say that we need a container to ship the Database , another to ship backend , another to ship frontend , another to ship another app or service....
What is the benefit of using a container?
If you ever before try to clone an github project , lot of times even when you follow the setup in documentation. Things don't go very well , like missing a thing here or their , And errors start to came out from no where , and only god know what is going on. Basically waste of time. Here came Docker , you can write a .yml describe to setup the envirement . so when you ship the project you ship also this Dockerfile , with single command docker start to download the envirement and build the project for you so you can run it on any machine without any problem. In company , it save money and time . the code that work locally will work the same in testing , deployement stage.