From zero to hero with Docker

428 views

Published on

Running your ASP.NET 5 application in a Docker container presentation at GET.NET in Łódź, Poland

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
428
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 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
  • 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…

    ×