R/model.R
get_model_package_container_registry.RdReturn a ContainerRegistry object for where the image
(or base image, for Dockerfile packages) is stored in an
Azure container registry.
get_model_package_container_registry(package)
| package | The |
|---|
The ContainerRegistry object.
container_registry()
# Given a ModelPackage object, # get the container registry information if (FALSE) { container_registry <- get_model_package_container_registry(package) address <- container_registry$address username <- container_registry$username password <- container_registry$password } # To then authenticate Docker with the Azure container registry from # a shell or command-line session, use the following command, replacing # <address>, <username>, and <password> with the values retrieved # from above: # ```bash # docker login <address> -u <username> -p <password> # ```