Successfully reported this slideshow.
Your SlideShare is downloading. ×

Getting Started With Docker | Docker Tutorial | Docker Training | Edureka

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Upcoming SlideShare
What is Docker?
What is Docker?
Loading in …3
×

Check these out next

1 of 40 Ad

Getting Started With Docker | Docker Tutorial | Docker Training | Edureka

This tutorial on "Getting started With Docker" will help you understand the fundamental concepts in Docker and how it is used for containerization. Below are the topics covered in this tutorial:

1. Challenges With Shipping & Transportation
2. How Does Docker Fit The Bill?
3. What Is Docker?
4. Benefits Of Docker Over Virtual Machines
5. Docker Terminology
6. Architecture Of Docker
7. Hands-On: Running Hello-World Docker Container

To take a structured training on Deep Learning, you can check complete details of our Deep Learning with TensorFlow course here: https://goo.gl/WF1RYI

This tutorial on "Getting started With Docker" will help you understand the fundamental concepts in Docker and how it is used for containerization. Below are the topics covered in this tutorial:

1. Challenges With Shipping & Transportation
2. How Does Docker Fit The Bill?
3. What Is Docker?
4. Benefits Of Docker Over Virtual Machines
5. Docker Terminology
6. Architecture Of Docker
7. Hands-On: Running Hello-World Docker Container

To take a structured training on Deep Learning, you can check complete details of our Deep Learning with TensorFlow course here: https://goo.gl/WF1RYI

Advertisement
Advertisement

More Related Content

Advertisement
Advertisement

Getting Started With Docker | Docker Tutorial | Docker Training | Edureka

  1. 1. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING
  2. 2. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Agenda 1. Challenges With Shipping & Transportation 2. How Does Docker Fit The Bill? 3. What Is Docker? 4. Benefits Of Docker Over Virtual Machines 5. Docker Terminology 6. Architecture Of Docker 7. Hands-On: Running Hello-World Docker Container
  3. 3. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Challenges With Shipping & Transportation
  4. 4. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Challenges With Shipping & Transportation Means of transport Goodstobetransported Challenges:- • How to transport the goods? • Are the workers trained enough to handle the goods? The goods will be shipped via various transports such as train, and ship. During shipment, loading and unloading activities of goods requires skilled workers.
  5. 5. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Solution To Shipping Means of transport Goodstobetransported What’s inside the container doesn’t matter
  6. 6. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Solution To Shipping & Transportation Once loaded, the container can be shipped over long distances efficiently A container is loaded with goods & sealed until it reaches the destination MultiplicityofGoods Multiplicityofmethods fortransporting CanItransportquicklyandsmoothly (e.g.fromboattotraintotruck) DoIworryabouthowgoodsinteract (e.g.coffeebeansnexttospices)
  7. 7. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Challenges with System/Software Configurations Machine / System Software/Services • Which system should be used to run the software/ service? • Are the employees skilled enough to handle the service/ software?
  8. 8. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker To The Rescue
  9. 9. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker – A shipping Container for node Static website Web frontendUser DB Queue Analytics DB Development VM QA server Public Cloud Contributor’s laptop MultiplicityofStacks Multiplicityofhardware environments Production Cluster Customer Data Center Doservicesandapps interactappropriately? CanImigrate smoothlyandquickly Operator: Configure Once, Run Anything Developer: Build Once, Run Anywhere
  10. 10. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING What Is Docker?
  11. 11. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING What Is Docker? Host OS Docker Engine App 1 BINS / LIBS Container 1 Container 2 App 2 BINS / LIBS Docker is a Containerization platform which packages your application and all its dependencies together in the form of Containers so as to ensure that your application works seamlessly in any environment be it Development or Test or Production.
  12. 12. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Who Can Use Docker? Developer: Docker helps the developer to focus only on building great software by automating repetitive tasks of setting up and configuring development environment. Enterprise: Docker is at the heart of the modern app platform, bridging developer and IT, Linux and Windows. It works in the cloud just as well as on premise; supports both traditional and microservices architectures. Sysadmin: Docker helps the sysadmin to streamline the software delivery, such as develop and deploy bug fixes and new features without any roadblock.
  13. 13. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Why Docker? Boost productivity Eliminate friction in the development cycle With BI you can keep track of information and set your goals accordingly. BI goes a long way in helping achieving your aim 1 Adaptability Easily adapts to your working environment 2 Simplicity Long & tedious jobs are much simpler now3
  14. 14. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker Containers Are Popular
  15. 15. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker In A Nutshell Docker File Project Code Docker Image Docker Container Virtual Machine Docker Hub Production Server Staging Server Container Container • Docker file builds a Docker image and that image contains all the project's code • You can run that image to create as many docker containers as you want • The created Images can be uploaded on Docker hub from where the image can be pulled and built in a container
  16. 16. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Benefits Of Docker Over VMs
  17. 17. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING VM vs. Docker
  18. 18. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING VM vs. Docker S t a r t u p S i z e I n t e g r a t i o n Total Memory 16 GB 4 GB 2 GB Memory wasted: 7 GB 3 GB 2 GB 4 GB  6 GB 4 GB 6 GB 7 GB of memory is blocked and cannot be allotted to a new VM 1 GB In case of Virtual Machines VM 1 VM 2 VM 3  Memory Used: 9 GB
  19. 19. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING VM vs. Docker S t a r t u p S i z e I n t e g r a t i o n Total Memory 16 GB 4 GB 2 GB  Memory Used: 9 GB Memory wasted: 7 GB VM 1 3 GB 2 GB 4 GB VM 2 VM 3  6 GB 4 GB 6 GB 7 GB of memory is blocked and cannot be allotted to a new VM In case of Virtual Machines 1 GB Total Memory 16 GB Only 9 GB memory utilized; 7 GB can be allotted to a new Container In case of Docker Memory Allotted: 4 GB Memory Allotted: 3 GB Memory Allotted: 10 GB 3 GB 2 GB 4 GB App 1 App 2 App 3  Memory Used: 9 GB
  20. 20. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING VM vs. Docker S t a r t u p S i z e I n t e g r a t i o n Host OS Kernel Guest OS BINS & LIBS Ruby v1 Build 1 Guest OS BINS & LIBS Ruby v2 Build 2 Virtual Machines New Builds  Multiple OS  Separate Libraries  Heavy  More Time In case of Virtual Machines In case of Docker Host OS Kernel BINS & LIBS Ruby v1 Build 1 BINS & LIBS Ruby v2 Build 2 Container New Builds  Same OS  Separate Libraries  Lightweight  Less Time
  21. 21. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING VM vs. Docker S t a r t u p S i z e I n t e g r a t i o n Integration In Virtual Machines Is Possible, But: ▪ Costly Due To Infrastructure Requirements ▪ Not Easily Scalable Jenkins
  22. 22. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING VM vs. Docker S t a r t u p S i z e I n t e g r a t i o n Integration in Docker is Faster, Cheap & Easily Scalable Jenkins
  23. 23. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Working Of Docker
  24. 24. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker Engine Docker Daemon Container 1 Container 2 Container n Docker Client Linux Rest API Docker_Host
  25. 25. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker Engine Docker Daemon Container 1 Container 2 Container n Docker Client Linux Rest API Docker_Host Docker Client Rest API Docker_Host Docker Toolbox Docker Daemon Container 1 Container 2 Container n Windows / OS X Docker Toolbox includes: ▪ Docker Client ▪ Compose(Mac only) ▪ Kitematic ▪ Machine and ▪ VirtualBox
  26. 26. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker Terminologies
  27. 27. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker Images & Containers ▪ Read Only Template Used To Create Containers ▪ Built By Docker Users ▪ Stored In Docker Hub Or Your Local Registry Docker Images
  28. 28. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker Images & Containers ▪ Read Only Template Used To Create Containers ▪ Built By Docker Users ▪ Stored In Docker Hub Or Your Local Registry Docker Images Docker Containers ▪ Isolated Application Platform ▪ Contains Everything Needed To Run The Application ▪ Built From One Or More Images run
  29. 29. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker Registry ▪ Docker Registry is a storage component for Docker Images ▪ We can store the Images in either Public / Private repositories ▪ Docker Hub is Docker’s very own cloud repository ▪ Control where your images are being stored ▪ Integrate image storage with your in-house development workflow Why Use Docker Registries?
  30. 30. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker Swarm provides native clustering capabilities to turn a group of Docker engines into a single, virtual Docker Engine. With these pooled resources, you can scale out your application as if it were running on a single, huge computer. Docker Swarm
  31. 31. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker Compose Docker Compose makes it easier to configure and run applications made up of multiple containers. For example, imagine being able to define three containers - one running a web app, another running postgres, and a third running redis - all in one YAML file and then running those three connected containers with a single command. web app postgres redis Docker Compose File You can run these three containers with a single commandContainers
  32. 32. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker Architecture
  33. 33. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker Architecture docker run docker pull docker build Client Docker_Host Docker Daemon Containers Images Registry
  34. 34. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker Architecture docker run docker pull docker build Client Docker_Host Docker Daemon Containers Images Registry build
  35. 35. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker Architecture docker run docker pull docker build Client Docker_Host Docker Daemon Containers Images Registry build pull
  36. 36. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker Architecture docker run docker pull docker build Client Docker_Host Docker Daemon Containers Images Registry build pull run
  37. 37. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Demo:- Running A Hello-World Container
  38. 38. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Running A Hello-World Container • Version Check • Searching hello-world • Pull hello-world • Execute hello-world
  39. 39. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING Docker With Edureka M A S T E R D O C K E R W I T H E D U R E K A Go to www.edureka.co/docker-training
  40. 40. www.edureka.co/docker-trainingEDUREKA’S DOCKER CERTIFICATION TRAINING

×