Skip to main content

Posts

Showing posts from 2018

Docker Fundamentals

Docker Training Notes Docker command: Check if docker is installed fine. 1. docker info 2. docker-compose --version Hello world with Docker 1. docker run hello-world Docker took below steps: 1. The docker client contacted the Docker daemon. 2. The Docker daemon pulled the 'hello-world" image from the Docker Hub. 3. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading. 4. The Docker daemon streamed that output to the Docker client, which sent it to the terminal. CLIENT DOCKER_HOST REGISTRY | | | docker build         Docker daemon       Docker Hub docker pull Containers docker run          Images Docker images vs container: 1. Image is combination of filesystem and parameters 2. Image has no state and doesn't change 3. Image is downloaded, build and run 4. Container

Microservices architecture and design patterns

Microservices Architecture and Design patterns Available in doc link as well which have better formatting:  Microservices architecture and design patterns What are microservices?            In short, the microservice architectural style is an approach to developing a single application as a  suite of small services , each  running in its own process  and communicating with lightweight mechanisms, often an HTTP resource API. These services are  built around business capabilities  and  independently deployable  by fully automated deployment machinery. There is a  bare minimum of centralized management  of these services, which may be written in different programming languages and use different data storage technologies.            -- James Lewis and Martin Fowler https://martinfowler.com/articles/microservices.html https://martinfowler.com/microservices/ https://12factor.net/ Scoping microservices Do