Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Um mergulho nos containers windows

163 views

Published on

Apresentação realizada no Visual Studio Summit 2017.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Um mergulho nos containers windows

  1. 1. #VSSUMMIT Giovanni Bassi Um mergulho nos containers Windows Lambda3, MVP @giovannibassi
  2. 2. #VSSUMMIT @GiovanniBassi
  3. 3. #VSSUMMIT VMs vs Contêineres Servidor SO hospedeiro Hypervisor SO virtual Bin/Libs X App A SO virtual Bin/Libs Y App B Servidor SO hospedeiro Motor Docker Bin/Libs X App A Bin/Libs Y App B VMs Contêineres
  4. 4. #VSSUMMIT .NET Core FROM microsoft/nanoserver:10.0.14393.1198 SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] # Install .NET Core ENV DOTNET_VERSION 1.0.5 ENV DOTNET_DOWNLOAD_URL https://dotnetcli.blob.core.windows.net/dotnet/preview/Binaries/$DOTNET_VERSION/dotnet-win- x64.$DOTNET_VERSION.zip RUN Invoke-WebRequest $Env:DOTNET_DOWNLOAD_URL -OutFile dotnet.zip; Expand-Archive dotnet.zip -DestinationPath $Env:ProgramFilesdotnet; Remove-Item -Force dotnet.zip RUN setx /M PATH $($Env:PATH + ';' + $Env:ProgramFiles + 'dotnet') https://github.com/dotnet/dotnet-docker/blob/master/1.0/runtime/nanoserver/Dockerfile
  5. 5. #VSSUMMIT
  6. 6. #VSSUMMIT
  7. 7. #VSSUMMIT
  8. 8. #VSSUMMIT
  9. 9. #VSSUMMIT Docker no Windows • Não é “Docker for Windows” • Port do Docker Engine • Roda sobre a tecnologia nativa de contêineres do Windows • Roda contêineres de Windows Server em hosts Windows • Rodará em breve contêineres Linux
  10. 10. #VSSUMMIT Arquitetura Cliente do Docker Docker Compose Registry do Docker Swarm Engine do Docker Interface REST libcontainerd libnetwork graph plugins Compute Service Control Groups Job Objects Namespaces Object Namespace, Tabela de processo, Rede Capacidades de camadas Registry, extensões semelhantes ao Union FileSystem Outras funcionalidades do sistema operacional
  11. 11. #VSSUMMIT Contêineres Kernel do Windows Outros Event Manager Local Security Authority Gestor da dessão Compute Services Engine do Docker Processos de sistema Processos da aplicação Job objects Interface de rede Armaz. Registry Host User Mode Processos de sistema Gestão de contêineres Contêiner do Windows Server Processos de sistema Processos da aplicação Job objects Interface de rede Armaz. Registry Contêiner do Windows Server
  12. 12. #VSSUMMIT Demo: Visual Studio 2017 CLI
  13. 13. #VSSUMMIT Giovanni Bassi Obrigado! Lambda3, MVP @giovannibassi

×