Wednesday, January 1, 2020

Docker Fundamentals

A docker image is a pre-packaged application or VM template.

Docker, the technology in 2 sentences:
    Container - like fast, lightweight virtual machines
    Docker - makes running apps inside containers easy

An image is like a stopped container or a template on how to build a container.

Workflow:
Write code > build > create (build) docker image > push to registry > start a container from the image and your app is now running.

You want to build your apps to avoid the "monolith" architecture. Modules within the app should be "microservices" or simply put, the app module pulled out of the monolith and placed into its own application architecture whether its a web service or console app and put into a container. That way if you want to update just step 4 of the Claim Payments orchestrator, we just have to deploy that one container and not anything else.

https://hub.docker.com/ - registry

Kubernetes
Orchestrates docker containers and nodes (like a load balancer for one of its many features)

Docker Desktop
Install:
https://hub.docker.com/?overlay=onboarding
Guide:
https://docs.docker.com/docker-for-windows/install/


Docker's Modernizing Traditional Apps program, put legacy apps into containers.
https://goto.docker.com/rs/929-FJL-178/images/SB_MTA_04.14.2017.pdf

No comments:

Post a Comment