Advertisement
Advertisement

More Related Content

Similar to Experts Live Switzerland 2018 - DOCKER - WARUM DIE ZUKUNFT IM CONTAINER STATTFINDET(20)

Advertisement

More from Marc Müller(20)

Advertisement

Experts Live Switzerland 2018 - DOCKER - WARUM DIE ZUKUNFT IM CONTAINER STATTFINDET

  1. Docker – Warum die Zukunft im Container stattfindet Marc Müller Principal Consultant, 4tecture GmbH www.4tecture.ch @muellermarc
  2. Marc Müller Principal Consultant @muellermarc
  3. https://twitter.com/dberkholz/status/689211852157407233
  4. Write Code Customer use the code Write Code Customer use the code
  5. 100 deployments per day!
  6. ▪ ▪ ▪ ▪ ▪ ▪
  7. ▪ Versioned artifact ▪ Isolated deployable unit ▪ Container image is bit by bit identical when deployed ▪ Abstraction of data center resources ▪ ▪ Orchestration is “Cattle Business” ▪ ▪
  8. Server Host OS Hypervisor Server Host OS Docker Engine Guest OS Guest OS Guest OS Bins/Libs Bins/Libs App A App A’ App B Bins/Libs Bins/Libs AppA AppA’ AppB AppB’ AppB AppB’ AppB AppB’ Containers are isolated, but share OS and, where appropriate, bins/librariesBins/Libs Image Source: https://sec.ch9.ms/sessions/build/2016/B822.pptx
  9. My ASP.NET Core Application microsoft/aspnet microsoft/dotnet buildpack-deps:jessie-scm buildpack-deps:jessie-curl debian:jessie
  10. ▪ ▪ ▪ ▪ ▪
  11. ▪ ▪ ▪ ▪ ▪ ▪ ▪ ➔ ▪
  12. LinuxWindows Process Linux Container Virtual Machines Process Windows Server Container Hyper-V VMs Hyper-V Container Quotas, Limits Added Isolation Kernel Kernel Faster, more efficient More isolated, more secure Source: Mark Fussel (Microsoft), Azure Service Fabric - Build always-on, hyper-scalable, microservice-based cloud applications
  13. ▪ ▪ ▪ ▪ ▪ ▪
  14. ▪ ▪ ▪ ▪ ▪
  15. ▪ ▪ ▪ ▪ ▪ ▪ →
  16. ▪ ▪
  17. ▪ ▪ ▪
  18. ▪ ▪ ▪ ▪ ▪ ▪
  19.  ▪ ▪ ▪ ▪ ▪ ▪
  20.  ▪ ▪ ▪ ▪ ▪ ▪ ▪
  21. ▪ ▪ ▪ ▪ ▪ ▪ ▪
  22. FROM microsoft/aspnetcore:2.0 WORKDIR /app COPY --from=publish /app . ENTRYPOINT ["dotnet", "a.dll"] FROM microsoft/aspnetcore:2.0 AS base WORKDIR /app EXPOSE 80 FROM microsoft/aspnetcore-build:2.0 AS build WORKDIR /src COPY *.sln ./ COPY SampleWebApplication/SampleWebApplication.csproj SampleWebApplication/ RUN dotnet restore COPY . . WORKDIR /src/SampleWebApplication RUN dotnet build -c Release -o /app FROM build AS publish RUN dotnet publish -c Release -o /app FROM base AS final WORKDIR /app COPY --from=publish /app . ENTRYPOINT ["dotnet", "SampleWebApplication.dll"]
  23. docker build –t <reponame>:<tag> . docker image ls REPOSITORY TAG IMAGE ID HelloWorld latest 326387cea398
  24. Image Source: https://docs.microsoft.com/en-us/azure/cloud-shell/overview
  25. Developer PC / Laptop Docker Engine Container Container Container
  26. App1 App2
  27. VSTS Build VSTS Release Management Docker Registry Build App Test Build Container Repo Container Info Deplyoment Config Publish to Target Host / Cluster Container Info Deplyoment Config Push Host / Cluster Pull Config Artifact
  28. VSTS Azure Resource Group DCOS Master DCOS Master Master Agent VSTS Agent App1 App1 App1 App1 App1 App2 Git Build Release Internet AzureLoadBalancer Ingress LeGo
  29. ▪ ▪ ▪ ▪ ▪ ▪ ▪ ▪ ▪
  30. We are looking for great talents to join our team! Apply to job@4tecture.ch www.4tecture.ch/jobs
  31. Experts Live Switzerland Wir danken unseren Sponsoren und Partnern!
Advertisement