{"id":14067302,"url":"https://github.com/cloudyr/AzureContainers","last_synced_at":"2025-07-30T00:33:12.070Z","repository":{"id":70475420,"uuid":"145801723","full_name":"cloudyr/AzureContainers","owner":"cloudyr","description":"Containers in Azure: AKS, ACR, ACI. Submit issues and PRs at https://github.com/Azure/AzureContainers.","archived":false,"fork":false,"pushed_at":"2025-04-12T11:05:18.000Z","size":661,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-31T02:26:02.748Z","etag":null,"topics":["acr","aks","docker","kubernetes-cluster","r"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudyr.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-23T04:47:58.000Z","updated_at":"2025-04-12T11:05:33.000Z","dependencies_parsed_at":"2023-03-01T00:15:47.885Z","dependency_job_id":null,"html_url":"https://github.com/cloudyr/AzureContainers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cloudyr/AzureContainers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyr%2FAzureContainers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyr%2FAzureContainers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyr%2FAzureContainers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyr%2FAzureContainers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudyr","download_url":"https://codeload.github.com/cloudyr/AzureContainers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudyr%2FAzureContainers/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267785799,"owners_count":24144122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["acr","aks","docker","kubernetes-cluster","r"],"created_at":"2024-08-13T07:05:31.734Z","updated_at":"2025-07-30T00:33:12.055Z","avatar_url":"https://github.com/cloudyr.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# AzureContainers \u003cimg src=\"man/figures/logo.png\" align=\"right\" width=150 /\u003e\n\n[![CRAN](https://www.r-pkg.org/badges/version/AzureContainers)](https://cran.r-project.org/package=AzureContainers)\n![Downloads](https://cranlogs.r-pkg.org/badges/AzureContainers)\n![R-CMD-check](https://github.com/Azure/AzureContainers/workflows/R-CMD-check/badge.svg)\n\nA package for working with [Azure Container Registry (ACR)](https://azure.microsoft.com/en-us/products/container-registry/), [Azure Kubernetes Service (AKS)](https://azure.microsoft.com/en-us/products/kubernetes-service/) and [Azure Container Instances (ACI)](https://azure.microsoft.com/en-us/products/container-instances/). Extends the Azure Resource Manager interface provided by the [AzureRMR](https://github.com/Azure/AzureRMR) package.\n\nAzureContainers lets you build and deploy containerised services in R, using Docker and Kubernetes. For full functionality, you should have [Docker](https://docs.docker.com/install/) installed, as well as the [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) and [helm](https://helm.sh/) commandline tools. Otherwise it is relatively lightweight, requiring neither Powershell nor Python.\n\nNote that AzureContainers can talk to any Docker registry that uses the [V2 HTTP API](https://docs.docker.com/registry/spec/api/), not just those created via ACR. Similarly, it can interface with Kubernetes clusters anywhere, not just those created via AKS.\n\nThe primary repo for this package is at https://github.com/Azure/AzureContainers; please submit issues and PRs there. It is also mirrored at the Cloudyr org at https://github.com/cloudyr/AzureContainers. You can install the development version of the package with `devtools::install_github(\"Azure/AzureContainers\")`.\n\n## Example workflow\n\nHere is a sample R workflow to package up an R model as a container, deploy it to a Kubernetes cluster, and expose it as a service.\n\n```r\nlibrary(AzureContainers)\n\naz \u003c- AzureRMR::get_azure_login()\nresgroup \u003c- az$\n    get_subscription(\"\u003csubscription_id\u003e\")$\n    create_resource_group(\"myresgroup\", location=\"australiaeast\")\n\n# create container registry\nacr \u003c- resgroup$create_acr(\"myacr\", location=\"australiaeast\")\n\n# create Docker image from a predefined Dockerfile\ncall_docker(\"build -t newcontainer .\")\n\n# get registry endpoint, upload image\nreg \u003c- acr$get_docker_registry()\nreg$push(\"newcontainer\")\n\n\n# create Kubernetes cluster with 2 nodes\naks \u003c- resgroup$create_aks(\"myakscluster\",\n    location=\"australiaeast\",\n    agent_pools=agent_pool(\"pool1\", 2))\n\n# give the cluster pull access to the registry\nacr$add_role_assignment(aks, \"Acrpull\")\n\n# get cluster endpoint, deploy from ACR to AKS with predefined yaml definition file\nclus \u003c- aks$get_cluster()\nclus$create(\"model1.yaml\")\nclus$get(\"service\")\n```\n\n---\n\u003cp align=\"center\"\u003e\u003ca href=\"https://github.com/Azure/AzureR\"\u003e\u003cimg src=\"https://github.com/Azure/AzureR/raw/master/images/logo2.png\" width=800 /\u003e\u003c/a\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudyr%2FAzureContainers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudyr%2FAzureContainers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudyr%2FAzureContainers/lists"}