Docker container - virtualization 2.0
Why we use it!
- Each container on a host shares the same system kernel so the launch is fast. ( Yeah ...seconds)
- An application and ALL it's dependencies are mounted on a filesystem so each build is repeatable.
- Bringing about the advent of slimmed down OS's. Only the parts that you need.
- DevOps owns it all the way through the lifecycle.
- Several orchestration solutions are available.
- All the major OS's and hosting providers support it.
Getting started with tainersUp
The code can be found on github along with the instructions for installation. It's based on python and the Flask framework and is designed to help with container fundamentals and adminstrative tasks. The code wiki will have all the latest information
- A docker container tech is lightweight and FAST!
- A container is made up of layers with a write layer on the top. This is typically discarded when the container is brought down.
- A volume plugin may be used to give you more persistence options.
- docker-engine is the heart of docker management. It creates, modifies and controls the containers.
- docker swarm is an orchestration tool to create & manage systems with container technology.
- Kubernetes is an alternative orchestration tool built by Google and CoreOS. It can run docker containers as well as the rkt "rocket" container.
Containerization is not supported as of Windows 10. It is on the roadmap for a future version. This is also true for OSX so the solution for now is to use boot2docker and Oracle virtual box.
Docker Do's and Don'ts
Article on Docker
Docker Book $9
Docker Support Site: https://support.docker.com
Docker Hub Login: https://hub.docker.com/account/login/
Docker Registry: https://index.docker.io
Kubernetes orchestration for Docker containers
Docker Compose orchestration
Ansible orchestration & provisioning