0% found this document useful (0 votes)
146 views12 pages

Azure Container Service

The document discusses Azure Container Service which allows hosting Docker containers on Azure. It provides an overview of containers and Docker, how Docker works, and how to use Docker Swarm for clustering containers on Azure Container Service.

Uploaded by

springlee
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
146 views12 pages

Azure Container Service

The document discusses Azure Container Service which allows hosting Docker containers on Azure. It provides an overview of containers and Docker, how Docker works, and how to use Docker Swarm for clustering containers on Azure Container Service.

Uploaded by

springlee
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Azure Container Service

Microsoft Research
Containers
• Lightweight alternative to virtual machines
• Smaller, less costly, faster to start, and self-contained
Virtual Machines
App App App

Libraries Libraries Libraries Containers


App App App
Guest OS Guest OS Guest OS
Libraries Libraries Libraries

Hypervisor Container Engine

Host Operating System Operating System


Docker
• Leading open-source
containerization platform
Docker containers wrap up a piece of
software in a complete filesystem that
contains everything it needs to run: code,
runtime, system tools, system libraries –
anything you can install on a server. This
guarantees that it will always run the same,
regardless of the environment it is running in

• Supported natively in Azure


Docker Architecture
Docker CLI
• CLI for Docker, available for Linux, OS X, and Windows
(available separately or as part of Docker Toolbox)
Running a Container
docker run -i -t ubuntu /bin/bash

Docker CLI
command
Run container
with interactive
terminal Pull "ubuntu"
image from
Docker Hub or Command to
local registry execute in the
container
Common Docker CLI Commands
docker run - Use an image to run a container
docker pull - Pull an image from a registry
docker build - Build a Docker image
docker images - List available Docker images
docker ps - List running Docker containers
docker exec - Execute a command in a container
docker stop - Stop a running container
Azure Container Service
• Robust, ready-to-use Docker hosting environment
• Open-source orchestration tools (DC/OS and Swarm)
Clustering with Docker Swarm
Connecting to Docker Swarm in ACS
• Establish SSH tunnel to master load balancer
• Use port forwarding to forward local Docker commands to
Docker daemon on master load balancer

ssh username@dnsname -p 2200 -L 22375:127.0.0.1:2375

Establish SSH connection via Forward commands transmitted


port 2200 (default is 22) through port 22375 by the Docker
CLI to port 2375 on the other end
Hands-On Lab

Using Azure Container Service


Docker and Azure Container Service HOL.html
© 2016 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it
should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO
WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

You might also like