Skip to main content

Posts

Showing posts with the label swarm

Higher order infrastructure

Developer need not to worry about the underlying infrastructure, all he/she has to look into is the services running on them and the stack they write. You do not have to worry about where your code is running. Which leads to faster rollouts, faster releases, faster deployments. Even rollbacks have become piece of cake with having docker on your infrastructure. If there is any change in your service all you have to do is change the YAML (yet another markup language) file and you will have a completely new service in minutes.  Docker was build for scalabilty and high availability. It is very easy to load balance your services in docker, scale up and scale down as per your requirements.  The most basic application that is demoed by docker, is the following cat and dog polling polygot application. Each part of this application will be written and maintained by a different team. Add it will just get collaborated by docker. The above are the compone...

Higher order infrastructure

Developer need not to worry about the underlying infrastructure, all he/she has to look into is the services running on them and the stack they write. You do not have to worry about where your code is running. Which leads to faster rollouts, faster releases, faster deployments. Even rollbacks have become piece of cake with having docker on your infrastructure. If there is any change in your service all you have to do is change the YAML (yet another markup language) file and you will have a completely new service in minutes.  Docker was build for scalabilty and high availability. It is very easy to load balance your services in docker, scale up and scale down as per your requirements. The most basic application that is demoed by docker, is the following cat and dog polling polygot application. Each part of this application will be written and maintained by a different team. Add it will just get collaborated by docker. The above are the components required to get the docker application u...

Docker

if you and your friend have vm and want to sync up you may have to transfer 20gb of file. but with docker docker diff to check the difference then docker commit then docker push which will only be the change. docker containers: are actual containers running the applications and includes os, user added files, and meta data docker images: helps to launch docker containers docker file: is a file containing instructions that help automate image creation layer: each file system that is stacked when docker mounts rootfs. Install docker using: sudo rpm install docker docker commands: docker pull: pull a pre-built image from public repos docker run: run in 3 modes background,foreground,interactive docker logs: logs of running logs docker commit: save container state docker images: list of all images docker diff: changes in files and directories docker build: build docker images from dockerfiles docker inspect: low level info about containers docker attach: interact with running container doc...