The slides talk about Docker and container terminologies but will also be able to see the big picture of where & how it fits into your current project/domain.
Topics that are covered:
1. What is Docker Technology?
2. Why Docker/Containers are important for your company?
3. What are its various features and use cases?
4. How to get started with Docker containers.
5. Case studies from various domains
7. Various Issues in Software Industry
âą Dependency Hell
âą Digital Transformation V/s Legacy Paralysis
âą Infrastructure Costs
âą Resource Productivity
âą Operational Efficiency
âą The WysiWyg gap -Unexpected changes from sandbox to production
10. Why Developers ?
Build onceâŠrun anywhere
âą A clean, safe, hygienic and portable runtime environment for your app.
âą No worries about missing dependencies, packages and other pain points during subsequent deployments.
âą Run each app in its own isolated container, so you can run various versions of libraries and other
dependencies for each app without worrying
âą Automate testing, integration, packagingâŠanything you can script
âą Reduce/eliminate concerns about compatibility on different platforms, either your own or your customers.
âą Cheap, zero-penalty containers to deploy services. A VM without the overhead of a VM. Instant replay and
reset of image snapshots.
11. Why Ops ?
Configure onceâŠrun anything
âą Make the entire lifecycle more efficient, consistent, and repeatable
âą Increase the quality of code produced by developers.
âą Eliminate inconsistencies between development, test, production, and customer environments
âą Support segregation of duties
âą Significantly improves the speed and reliability of continuous deployment and continuous integration
systems
âą Because the containers are so lightweight, address significant performance, costs, deployment, and
portability issues normally associated with VMs
12. Why DevOps ?
âą Oscar the Ops Guy
âą Worries about whatâs âoutsideâ the
container
âą Logging
âą Remote access
âą Monitoring
âą Network config
âą All containers start, stop, copy, attach,
migrate, etc. the same way
âą Dan the Developer
âą Worries about whatâs âinsideâ the container
âą His code
âą His Libraries
âą His Package Manager
âą His Apps
âą His Data
âą All Linux servers look the same
15. Containers
â A container an entirely isolated set of packages, libraries and/or applications that are completely independent from
its surroundings.
â In the simplest example, you place your leftovers in a plastic container and then set it on the table. Although the
table lends the platform on which the leftovers are resting upon, they are independent of the table itself. What you
do to one does not necessarily affect the other (although in certain instances it can).
17. Containerisation
â Containerisation is the technique of bringing virtualisation to the operating system level.
â Containerisation is more efficient because there is no guest OS here
â It utilises, as and when needed:
âȘ Hostâs operating system,
âȘ Share relevant libraries
âȘ .. and other resources
18. Containerisation
â Advantages of Containerisation
â Containers on the same OS kernel are lighter and smaller
â Better resource utilisation compared to VMs
â Boot-up process is short and takes few seconds
Challenges in Containerisation
Adds complexity to the existing architecture initially
23. Docker
â Open source software platform to create, deploy and manage virtualised application containers on a common OS,
with an ecosystem of allied tools.
â Docker Inc., the company that originally developed Docker, supports a commercial edition and is the principal
sponsor of the open source tool
â Offers the ability to isolate your Applications, standardise your build and deployment process and to create
standard, repeatable processes in your software and infrastructure.
â The whole idea of Docker is for developers to easily develop applications, ship them into containers which can
then be deployed anywhere.
24. Docker Containers
âWraps up a piece of software in a complete file system that contains everything it needs to run: code, runtime,
system tools, system libraries ( anything you can install on a server).
âBy encapsulating and isolating everything in a container, this guarantees that the container will always run the
same, regardless of the environment it is running in.
25. Features of Docker
â Docker has the ability to reduce the size of development by providing a smaller footprint of the operating system via
containers.
â With containers, it becomes easier for teams across different units, such as development, QA and Operations to work
seamlessly across applications.
â You can deploy Docker containers anywhere, on any physical and virtual machines and even on the cloud.
â Since Docker containers are pretty lightweight,
they are very easily scalable.
26. When to use Docker
â Configuration Simplification
â Enhance Developer Productivity
â Server Consolidation and Management
â Application Isolation
â Rapid Deployment
â Build Management (maven, Jenkins)
30. Docker Terminology
â Docker Daemon
â Runs on Host machine,
â Creates and manages docker objects such as
â Images,
â Containers,
â Network,
â Volume,
â Data etc
â Docker Client
â User Interface for docker which accepts commands from user and communicates with docker host
31. Docker Terminology
â Docker Images
â Used to create docker containers, provides way to build new images or update existing images
â Build component of docker
â Docker Containers
â Created from docker images
â Hold everything that is needed for an application to run
â Isolated and secure application platform
â Run component of docker
32. Docker Terminology
â Dockerfile
â Starting point of the dockerization process.
â Details the configuration of an application and specifies resources needed
â Tells the image builder (eg. Jenkins) what the image should look like.
â Docker Registries
â Public or private stores from which you upload/download images
â Can be done on docker hub which is dockerâs version of github
â Distribution component of docker
33. Docker Terminology
â Docker Engine
â The container runtime with built in orchestration, networking and security that installs on any physical, virtual
(VM) or cloud host (AWS, Azure, Google Cloud Enterprise etc).
â The lightweight runtime installs directly on the host OS i.e Windows Server 2016, Ubuntu, CentOS, RHEL
OpenSUSE.
34. Docker Terminology âŠ
âContainers are built from a Docker image.
âThe Docker image uses union filesystems and is comprised of multiple layers.
â âdocker runâ command spins up a container from the defined image
âCommands include creating new containers, scaling existing containers, stopping, removing
39. Dockerfile
FROM ubuntu:15.10
COPY . /app
RUN make /app
CMD python /app/app.py
â The FROM statement
â The COPY command adds some files from your Docker clientâs current directory.
â The RUN command builds your application using the make command.
â The CMD command specifies what command to run within the container.
43. Visit : www.zekeLabs.com for more details
THANK YOU
Let us know how can we help your organisation to Up skill the
employees to stay updated in the ever-evolving IT Industry.
Get in touch:
www.zekeLabs.com | +91-8095465880 | info@zekeLabs.com