'Delete and recreate the registry for an azure machine learning workspace

Our azure machine learning workspace container registry has grown extremely large (4Tb) and has many obsolete entries. I would like to delete the registry and simply create a new one. We do not need any entries from the old one.

If I delete the current registry, create a new one, how do I attach it to the workspace? I dont want to create a new workspace.



Solution 1:[1]

Attaching a registry to an existing workspace can be done with this command (replace placeholders with your own values):

az ml workspace update -n [ML workspace name] -g [Resource group name] --container-registry [ACR ID] -u

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 David