Successfully reported this slideshow.
Your SlideShare is downloading. ×

From zero to hero with Docker

Upcoming SlideShare
Docker, From zero to hero
Docker, From zero to hero
Loading in …3
×

Check these out next

1 of 36 Ad
1 of 36 Ad
Advertisement

More Related Content

Slideshows for you (19)

Viewers also liked (18)

Advertisement

More from Maurice De Beijer [MVP] (20)

Advertisement

From zero to hero with Docker

  1. 1. From zero to hero with Docker Running your ASP.NET 5 application in a Docker container
  2. 2. Who am I? • Maurice de Beijer • The Problem Solver • Microsoft Azure MVP • Freelance developer/instructor • Twitter: @mauricedb, @React_Tutorial • Web: http://www.TheProblemSolver.nl • E-mail: maurice.de.beijer@gmail.com
  3. 3. Overview • What are containers • What is Docker • Creating and running Docker images • Running an ASP.NET Core 1.0 App – In a Linux container – In a Windows container • But we need more
  4. 4. What is a container?
  5. 5. Once upon a ship
  6. 6. Loading cargo the old way
  7. 7. A container ship these days
  8. 8. Loading is a bit faster
  9. 9. Running virtual machines
  10. 10. Virtual Machines vs Containers
  11. 11. Namespaces & cgroups
  12. 12. What is Docker?
  13. 13. Docker Hub
  14. 14. Buildingcontainers
  15. 15. Containerantipattern
  16. 16. Orchestration
  17. 17. DockerCompose
  18. 18. ASP.NETCore1.0App onLinux
  19. 19. DockeronWindows
  20. 20. ASP.NET Windowscontainer
  21. 21. ASP.NETCore1.0App onWindows
  22. 22. Containers can be great…

Editor's Notes

  • https://www.flickr.com/photos/25143217@N05/3468038614/
  • https://www.flickr.com/photos/quinnanya/5046072204/
  • A single lift takes 40 tons of cargo

    https://www.flickr.com/photos/glynlowe/14369663877
  • Ships where not very efficient when loading/unloading
  • A lot of people where needed to move cargo in small units
  • Large container ships move unknown cargo very efficiently

    https://www.flickr.com/photos/rhemkes/15398653092
  • Loading is much more efficient because of standard container sizes

    https://www.flickr.com/photos/anaulin/1047673820
  • https://www.flickr.com/photos/prayitnophotography/4655585356
  • Initial release13 March 2013
  • Containers are based on Linux namespaces and cgroups
    Namespaces create separation
    The root can see everything
    Containers can only see things in their own namespace
    Existed before Docker
    Docker just makes things easier

    https://www.flickr.com/photos/prettybipolar/6938332165/
  • Not everything is namespaced yet
    Users are not => security

    https://www.flickr.com/photos/kewl/8576064449
  • Contains many ready to use images
    Upload your own
  • A Docker file to create an image with NodeJS

    https://www.flickr.com/photos/nyuhuhuu/4443886636/
  • Containers should run one main executable.
    It stop and the container is done
    The main program receives a SIGTERM signal when the container needs to stop
  • https://www.flickr.com/photos/frederikmagle/7026769687
  • Creating a Docker container with a CoreCLR application
  • Creating a Docker container with a CoreCLR application
  • Windows Server Containers
    Very much like the Linux Docker containers
    Available on site or in Azure
    Hyper-V Container
    More like a virtual machine then a traditional container
    Only available on site

    https://www.flickr.com/photos/schmollmolch/9816042533/
  • Creating Docker images
    Using Docker commands
    Using PowerShell

    https://www.flickr.com/photos/jemimus/7048887071
  • https://www.flickr.com/photos/pfly/199823544/
  • https://www.flickr.com/photos/krupptastic/4738992473
  • https://www.flickr.com/photos/ell-r-brown/7160371456

×