You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 16, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: src/content/docs/configuration/container-registries.mdx
+55-24Lines changed: 55 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,35 +11,66 @@ import Label from '@components/Label.astro'
11
11
12
12
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.
13
13
14
-
## Add a Container Registry
14
+
Container registries are managed through environment variables, enabling you to securely store and manage credentials. Daytona provides options to set, list, and delete container registries for your Workspaces.
15
15
16
-
Daytona provides an option to add a container registry for your Workspace.
16
+
Daytona provides options to set global environment variables that apply to all Workspaces or set environment variables for a specific Workspace. To set environment variables for a specific Workspace, use the `--env` flag when creating a new Workspace, or configure the environment variables in the Workspace's template. For server-wide environment variables that apply to all new Workspaces, use the `daytona env` command.
17
17
18
-
1. Run the following command to add a container registry:
18
+
## Set a Container Registry
19
+
20
+
Daytona provides an option to set a container registry through environment variables for your Workspace.
21
+
22
+
1. Run the following command to set a container registry environment variable:
19
23
20
24
```shell
21
-
daytona container-registry add
25
+
daytona env set
22
26
```
23
27
24
-
Upon running the command, you will be prompted to enter the following details:
25
-
26
-
-**Server URL**: The URL of the container registry.
27
-
-**Username**: The username to authenticate with the container registry.
28
-
-**Password**: The password to authenticate with the container registry.
28
+
2. Set the server environment variable key for the container registry:
29
29
30
30
```text
31
-
Server URL
31
+
Set server environment variable
32
+
Key
32
33
>
34
+
```
33
35
34
-
Username
35
-
>
36
+
:::tip
37
+
Add the following environment variables to configure your container registry:
38
+
39
+
-**`<*>_CONTAINER_REGISTRY_SERVER`**
40
+
41
+
The URL of the container registry.
42
+
43
+
-**`<*>_CONTAINER_REGISTRY_USERNAME`**
44
+
45
+
The username to authenticate with the container registry.
46
+
47
+
-**`<*>_CONTAINER_REGISTRY_PASSWORD`**
48
+
49
+
The password to authenticate with the container registry.
36
50
37
-
Password
51
+
:::
52
+
53
+
<br />
54
+
55
+
3. Set the server environment variable value for the container registry:
56
+
57
+
```text
58
+
Value
38
59
>
39
60
```
40
61
62
+
4. Select whether to add another environment variable:
63
+
64
+
```text
65
+
Add another environment variable?
66
+
67
+
[Yes] [No]
68
+
```
69
+
70
+
Upon selecting, Daytona will set the container registry environment variables for your Workspace.
71
+
41
72
```text
42
-
Registry set successfully
73
+
Server environment variables have been set successfully
43
74
```
44
75
45
76
## List Container Registries
@@ -49,15 +80,15 @@ Daytona provides an option to list the container registries configured for your
49
80
1. Run the following command to list the container registries:
50
81
51
82
```shell
52
-
daytona container-registry list
83
+
daytona env list
53
84
```
54
85
55
-
Upon running this command, Daytona will display a list of your configured container registries with their respective details.
86
+
Upon running this command, Daytona will display a list of your configured container registries' environment variables.
Copy file name to clipboardExpand all lines: src/content/docs/configuration/git-providers.mdx
+18-16Lines changed: 18 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@ By adding a Git Provider, your credentials are securely embedded into your Works
19
19
20
20
## Add a Git Provider
21
21
22
+
Daytona provides an option to add a Git Provider, enabling you to connect your preferred Git Provider and access your repositories directly from Daytona.
23
+
22
24
1. Run the following command to add a Git Provider:
23
25
24
26
```shell
@@ -116,7 +118,7 @@ Git provider has been registered
116
118
117
119
## List Connected Git Providers
118
120
119
-
Daytona allows you to keep track of your Git Providers by listing all previously created Git Providers.
121
+
Daytona provides an option to keep track of your Git Providers by listing all previously created Git Providers.
120
122
121
123
1. Run the following command to list currently connected Git Providers:
122
124
@@ -133,7 +135,7 @@ GitLab (alias)
133
135
134
136
## Update a Git Provider
135
137
136
-
Daytona allows you to update an existing Git Provider, enabling you to apply the latest enhancements and bug fixes.
138
+
Daytona provides an option to update an existing Git Provider, enabling you to apply the latest enhancements and bug fixes.
137
139
138
140
1. Run the following command to update a Git Provider:
139
141
@@ -175,7 +177,7 @@ Git provider has been updated
175
177
176
178
## Delete a Git Provider
177
179
178
-
Daytona allows you to delete Git Providers, helping you manage and delete those that are no longer needed. Once a Git Provider is deleted, you will not be able to manage or deploy Workspaces without adding another Git Provider.
180
+
Daytona provides an option to delete Git Providers, helping you manage and delete those that are no longer needed. Once a Git Provider is deleted, you will not be able to manage or deploy Workspaces without adding another Git Provider.
179
181
180
182
1. Run the following command to delete a Git Provider:
181
183
@@ -201,7 +203,7 @@ Git provider has been removed
201
203
202
204
## GitHub
203
205
204
-
Daytona allows you to connect your GitHub account and access your repositories directly from Daytona.
206
+
Daytona provides an option to connect your GitHub account and access your repositories directly from Daytona.
205
207
206
208
1. Run the following command to add GitHub as a Git Provider:
207
209
@@ -243,7 +245,7 @@ Git provider has been registered
243
245
244
246
## GitLab
245
247
246
-
Daytona allows you to connect your GitLab account and access your repositories directly from Daytona.
248
+
Daytona provides an option to connect your GitLab account and access your repositories directly from Daytona.
247
249
248
250
1. Run the following command to add GitLab as a Git Provider:
249
251
@@ -285,7 +287,7 @@ Git provider has been registered
285
287
286
288
## Bitbucket
287
289
288
-
Daytona allows you to connect your Bitbucket account and access your repositories directly from Daytona.
290
+
Daytona provides an option to connect your Bitbucket account and access your repositories directly from Daytona.
289
291
290
292
1. Run the following command to add Bitbucket as a Git Provider:
291
293
@@ -332,7 +334,7 @@ Git provider has been registered
332
334
333
335
## GitHub Enterprise Server
334
336
335
-
Daytona allows you to connect your GitHub Enterprise Server account and access your repositories directly from Daytona.
337
+
Daytona provides an option to connect your GitHub Enterprise Server account and access your repositories directly from Daytona.
336
338
337
339
1. Run the following command to add GitHub Enterprise Server as a Git Provider:
338
340
@@ -385,7 +387,7 @@ Git provider has been registered
385
387
386
388
## GitLab Self-Managed
387
389
388
-
Daytona allows you to connect your GitLab Self-Managed account and access your repositories directly from Daytona.
390
+
Daytona provides an option to connect your GitLab Self-Managed account and access your repositories directly from Daytona.
389
391
390
392
1. Run the following command to add GitLab Self-Managed as a Git Provider:
391
393
@@ -438,7 +440,7 @@ Git provider has been registered
438
440
439
441
## Bitbucket Server
440
442
441
-
Daytona allows you to connect your Bitbucket Server account and access your repositories directly from Daytona.
443
+
Daytona provides an option to connect your Bitbucket Server account and access your repositories directly from Daytona.
442
444
443
445
1. Run the following command to add Bitbucket Server as a Git Provider:
444
446
@@ -496,7 +498,7 @@ Git provider has been registered
496
498
497
499
## Codeberg
498
500
499
-
Daytona allows you to connect your Codeberg account and access your repositories directly from Daytona.
501
+
Daytona provides an option to connect your Codeberg account and access your repositories directly from Daytona.
500
502
501
503
1. Run the following command to add Codeberg as a Git Provider:
502
504
@@ -543,7 +545,7 @@ Git provider has been registered
543
545
544
546
## Gitea
545
547
546
-
Daytona allows you to connect your Gitea account and access your repositories directly from Daytona.
548
+
Daytona provides an option to connect your Gitea account and access your repositories directly from Daytona.
547
549
548
550
1. Run the following command to add Gitea as a Git Provider:
549
551
@@ -596,7 +598,7 @@ Git provider has been registered
596
598
597
599
## Gitness
598
600
599
-
Daytona allows you to connect your Gitness account and access your repositories directly from Daytona.
601
+
Daytona provides an option to connect your Gitness account and access your repositories directly from Daytona.
600
602
601
603
1. Run the following command to add Gitness as a Git Provider:
602
604
@@ -649,7 +651,7 @@ Git provider has been registered
649
651
650
652
## Azure DevOps
651
653
652
-
Daytona allows you to connect your Azure DevOps account and access your repositories directly from Daytona.
654
+
Daytona provides an option to connect your Azure DevOps account and access your repositories directly from Daytona.
653
655
654
656
1. Run the following command to add Azure DevOps as a Git Provider:
655
657
@@ -702,7 +704,7 @@ Git provider has been registered
702
704
703
705
## AWS CodeCommit
704
706
705
-
Daytona allows you to connect your AWS CodeCommit account and access your repositories directly from Daytona.
707
+
Daytona provides an option to connect your AWS CodeCommit account and access your repositories directly from Daytona.
706
708
707
709
1. Run the following command to add AWS CodeCommit as a Git Provider:
708
710
@@ -766,7 +768,7 @@ Git provider has been registered
766
768
767
769
## Gogs
768
770
769
-
Daytona allows you to connect your Gogs account and access your repositories directly from Daytona.
771
+
Daytona provides an option to connect your Gogs account and access your repositories directly from Daytona.
770
772
771
773
1. Run the following command to add Gogs as a Git Provider:
772
774
@@ -832,7 +834,7 @@ Git provider has been registered
832
834
833
835
## Gitee
834
836
835
-
Daytona allows you to connect your Gitee account and access your repositories directly from Daytona.
837
+
Daytona provides an option to connect your Gitee account and access your repositories directly from Daytona.
836
838
837
839
1. Run the following command to add Gitee as a Git Provider:
0 commit comments