Skip to content

Instantly share code, notes, and snippets.

@cmaneu
Last active March 11, 2019 14:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmaneu/9273a42562f0a515271d39843f3cd0e7 to your computer and use it in GitHub Desktop.
Save cmaneu/9273a42562f0a515271d39843f3cd0e7 to your computer and use it in GitHub Desktop.
Station F Containers Demo

Station F - 1001 lives of containers in the cloud

This gist contains my demo script for "1001 lives of containers in the cloud" tech conference.

Demos

  1. Hello Docker
  • Run a simple container
  • Run an Ubuntu Bash
  1. Hello Docker Devs
  • Run Azure CLI from docker
  • Build my first image
  • Run my first image
  • Explore logs (cli and VSC)
  • Debug in a container !
  1. Hello Cloudy Docker
  • Push a container in ACR
  • Deploy a container in ACI
  • Deploy ghost in Azure Web App
  1. Prod apps
  • AKS - Scaling
  • CD/CI
  • Azure monitor
  • Application Insights
docker --version
docker run hello-world
docker run -it ubuntu bash
> ls, uname
docker run -it microsoft/azure-cli:latest
> az login
> az group list
docker build -t cmaneu/sfdemo .
docker images
docker run -p 8080:3000 cmaneu/sfdemo
docker ps
docker log
docker tag hello-world chrisstationf.azurecr.io/hello-world
docker push chrisstationf.azurecr.io/hello-world
az group create --name demosf --location westeu
az container create \
--resource-group demosf \
--name helloaci \
--image microsoft/aci-helloworld \
--ports 80 \
--dns-name-label "aci-demo-sfd" \
--location westeu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment