Skip to content

Instantly share code, notes, and snippets.

Avatar
:shipit:
Crafting bugs!

Moim HA MoimHossain

:shipit:
Crafting bugs!
View GitHub Profile
@MoimHossain
MoimHossain / RemoveAzureContainerRegistryImages
Created Dec 14, 2017
Removes container registry images
View RemoveAzureContainerRegistryImages
// list all
az acr repository show-tags -n ibispaas --repository ibis-fst-spa
// delete tags
az acr repository delete -n ibispaas --repository ibis-fst-spa --tag "20171204.3" -y
az acr repository delete -n ibispaas --repository ibis-fst-spa --tag "20171207.6" -y
az acr repository delete -n ibispaas --repository ibis-fst-spa --tag "20171116.6" -y
az acr repository delete -n ibispaas --repository ibis-fst-spa --tag "20171101.1" -y
az acr repository delete -n ibispaas --repository ibis-fst-spa --tag "20171107.2" -y
View moim.sh
#!/bin/bash
# example of using arguments to a script
sudo echo "Hello world ---------------------- Moim Hossain"
sudo docker version