if (FALSE) {
rg <- AzureRMR::get_azure_login()$
get_subscription("subscription_id")$
get_resource_group("rgname")
# get the ACR resource that contains the image
myacr <- rg$get_acr("myregistry", as_admin=TRUE)
rg$create_aci("mycontainer",
image="myregistry.azurecr.io/myimage:latest",
registry_creds=myacr)
}
Run the code above in your browser using DataLab