Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

Docker 101: Introduction to Docker

35.989 Aufrufe

Veröffentlicht am

Veröffentlicht in: Technologie
  • Get access to 16,000 woodworking plans, Download 50 FREE Plans... ♣♣♣ http://tinyurl.com/y3hc8gpw
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • Running full blown OS as containers will suffice most of the virtual machine needs. So why not use containers just like regular virtual machines? There are security risks with this , they aren’t meant to run multiple services and moreover they are not reliable for storing data. However when you need to deploy a test environment or any environment where you care less about security and more about time, you can bring up full blown OS containers within 5-10 seconds instead of setting up virtual machines and you get all the benefits of containers like instantaneous backups(commits), easy start and stop and the awesome feature of pausing your container etc. Why docker-box? UI to run containers easily: Minimal UI focusing on content. Run a container in just 5 seconds. Takes care of networking. Just provide your desired IP, docker box will set it up for you. Uses MACVLAN network which doesn’t mess up your iptables. User management. Create users and assign them to your virtual machine like container. SSH access for user to the container. Host and containers statistics. Graphical view for your host and running containers. Includes CPU, RAM, NETWORK and DISK. Create backups of containers. Just give a name and your backup will be ready in a couple of seconds. Use these images as base to extend functionalities. Web based terminal session for containers. Get a quick access to your system using web based terminal. You can also have UI to run containers easily with in second https://github.com/MicroPyramid/docker-box
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier

Docker 101: Introduction to Docker

  1. 1. Introduction to Docker
  2. 2. @botchagalupe • a.k.a. John Willis • 35 Years in IT Operations • Exxon, Canonical, Chef, Enstratius, Socketplane • Devopsdays Core Organizer
  3. 3. Agenda • Why Docker? • Docker Platform • Docker Installation • Docker Workflow(s)
  4. 4. Docker Blog
  5. 5. Why Docker? • Isolation • Lightweight • Simplicity • Workflow • Community
  6. 6. Docker Community • 1200 Docker Contributors • 100,000 Dockerized Applications • 3 to 4 Million Developers using Docker • 300 Million Downloads • 32,000 Docker Related Projects • 70% of enterprises are using Docker
  7. 7. Docker Engine • Docker Daemon • Docker CLI
  8. 8. Docker Daemon • Builds Images • Runs and Manages Containers • RESTful API
  9. 9. Docker CLI • docker build # Build an image from a Dockerfile • docker images # List all images on a Docker host • docker run # Run an image • docker ps # List all running and stopped instances • docker stop # Stop a running instances • docker rm # Remove an instance • docker rmi # Remove an image
  10. 10. Docker Architecture
  11. 11. Docker Hub • Provides Docker Services • Library of public images • Storage for your images • free for public images • cost for private images • Automated builds(link github/bitbucket repo; trigger build on commit)
  12. 12. Docker Hub
  13. 13. Docker Installation
  14. 14. Docker Installation
  15. 15. Docker Platform Workflow • Find an Image on Docker Hub • Pull an Image from Docker Hub • Run an Image on Docker Host • Stop an Instance • Remove an Instance • Remove an Image
  16. 16. Demo
  17. 17. Docker Run Commands
  18. 18. Docker Platform Workflow (Build Images) • Build a Local Image • Run an Image on Docker Host
  19. 19. Demo
  20. 20. Docker Build
  21. 21. Docker Platform Workflow (Volumes) • Using Volumes • Mounting Docker Host Volumes
  22. 22. Docker Platform Workflow (Volumes)
  23. 23. Demo
  24. 24. Docker Volumes
  25. 25. References WHY I LOVE DOCKER… AND WHY YOU’LL LOVE IT TOO! https://blog.docker.com/2015/03/why-i-love-docker-and-why-youll-love-it-too/! ! DOCKER TUTORIAL 1 – INSTALLING DOCKER! https://blog.docker.com/2015/03/docker-tutorial-1-installing-docker/! ! DOCKER TUTORIAL 2 – DOCKER RUN COMMAND BASICS! https://blog.docker.com/2015/03/docker-tutorial-2-docker-run-command-basics/! ! DOCKER TUTORIAL 3 – FUN WITH VOLUMES! https://blog.docker.com/2015/04/docker-tutorial-3-fun-with-volumes/! ! DOCKER TUTORIAL 4 – MORE RUN WITH A COUPLE OF EXTRA GOODIES! https://blog.docker.com/2015/04/docker-tutorial-4-more-run-with-a-couple-of-extra-goodies/! ! DOCKER TUTORIAL 6 – DOCKERFILE (PART 1)! https://blog.docker.com/2015/04/docker-tutorial-6-dockerfile-part-1/! ! DOCKER TUTORIAL 7 – DOCKERFILE (PART 2)! https://blog.docker.com/2015/04/docker-tutorial-7-dockerfile-part-2/
  26. 26. john.willis@docker.com @botchagalupe