Container Registries
Container registries store credentials used to pull container images from specified registry servers. Adding container registry credentials is useful for users who want to create Workspaces from private images and those hosted on private registries.
Add a Container Registry
Daytona provides an option to add a container registry for your Workspace.
- Run the following command to add a container registry:
daytona container-registry add
Upon running the command, you will be prompted to enter the following details:
- Server URL: The URL of the container registry.
- Username: The username to authenticate with the container registry.
- Password: The password to authenticate with the container registry.
Server URL>
Username>
Password>
Registry set successfully
List Container Registries
Daytona provides an option to list the container registries configured for your Workspaces.
- Run the following command to list the container registries:
daytona container-registry list
Upon running this command, Daytona will display a list of your configured container registries with their respective details.
Server Username Password─────────────────────────────────────────────────────────────────────myregistry.com daytona ********
Delete a Container Registry
Daytona provides an option to delete a container registry from your Workspace.
- Run the following command to delete a container registry:
daytona container-registry delete
Upon running this command, you will be prompted to select the container registry you want to delete.
Choose a container registry1 item===myregistry.comdaytona
Container registry deleted successfully