Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.36 KB

notes.md

File metadata and controls

48 lines (33 loc) · 1.36 KB

Notes

Demonstrate:

# install uuidgen
sudo apt install uuid-runtime

# install in one line
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash

# login to azure subscription
az login --use-device-code

# build the image
docker build -t {tag} .

# list images
docker images

# run an image on port 8080
docker run -d -p 8080:80 {image}

# show all containers
docker ps -a

# stop a container
docker stop {container}

# remove a container
docker rm {container}

# remove image
docker rmi {image}

# download install script to inspect (if curious)
curl -sL https://aka.ms/InstallAzureCLIDeb --output install-azure-cli.bash

References