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
Copy file name to clipboardExpand all lines: faq/containerregistry.mdx
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,20 @@ Scaleway Container Registry is a fully managed mutualized Container Registry, de
16
16
You can store any docker container image on the Namespace and it is possible to set the visibility of each image towards your needs. It can either be private or public.
17
17
The Service is currently available in our `nl-ams` (Amsterdam, The Netherlands), `fr-par` (Paris, France), and `pl-waw` (Poland, Warsaw) Availability Zones.
18
18
19
+
## How am I billed for Scaleway Container Registry?
20
+
21
+
Scaleway Container Registry is billed based on stored images size, and outgoing data transfer.
22
+
23
+
|| Stored Images | Outgoing data transfer | Incoming data transfert |
Copy file name to clipboardExpand all lines: faq/serverless-containers.mdx
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,27 @@ Ensure that your code avoids heavy computations or long-running initialization a
97
97
98
98
Refer to our dedicated page about [Serverless Containers limitations and configuration restrictions](/serverless/containers/reference-content/containers-limitations/) for more information.
99
99
100
+
# Where should I host my container images for deployment ?
101
+
102
+
<Macroid="container-registry-note" />
103
+
104
+
# How can I copy an image from an external registry to Scaleway Container Registry?
105
+
106
+
You can copy an image from an external registry by [logging in to the Scaleway Container Registry](/containers/container-registry/how-to/connect-docker-cli/) using the Docker CLI, and by copying the image as shown below:
107
+
108
+
```sh
109
+
docker pull alpine:latest
110
+
docker tag alpine:latest rg.fr-par.scw.cloud/example/alpine:latest
skopeo copy --override-os linux docker://docker.io/alpine:latest docker://rg.fr-par.scw.cloud/example/alpine:latest
119
+
```
120
+
100
121
## Can I whitelist the IPs of my containers?
101
122
102
123
Serverless Containers does not yet support Private Networks. However, you can use the Scaleway IP ranges defined at [https://www.scaleway.com/en/peering/](https://www.scaleway.com/en/peering/) on Managed Databases and other products that allow IP filtering.
Copy file name to clipboardExpand all lines: faq/serverless-jobs.mdx
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,27 @@ Scaleway Serverless Jobs is part of the Scaleway ecosystem, it can therefore be
94
94
95
95
When starting a job, you can use contextual options to define the number of jobs to execute at the same time. Refer to the [dedicated documentation](/serverless/jobs/how-to/run-job/#how-to-run-a-job-with-contextual-options) for more information.
96
96
97
+
# Where should I host my jobs images for deployment ?
98
+
99
+
<Macroid="container-registry-note" />
100
+
101
+
# How can I copy an image from an external registry to Scaleway Container Registry?
102
+
103
+
You can copy an image from an external registry by [logging in to the Scaleway Container Registry](/containers/container-registry/how-to/connect-docker-cli/) using the Docker CLI, and by copying the image as shown below:
104
+
105
+
```sh
106
+
docker pull alpine:latest
107
+
docker tag alpine:latest rg.fr-par.scw.cloud/example/alpine:latest
[Scaleway's Container Registry](/containers/container-registry/) allows for a seamless integration with Serverless Containers and Jobs at a [competitive price](/faq/containerregistry/#how-am-i-billed-for-scaleway-container-registry).
6
+
Serverless products support external public registries (such as [Docker Hub](https://hub.docker.com/search?q=)), but we do not recommend using them due to uncontrolled rate limiting, which can lead to failures when starting resources, unexpected usage conditions, and pricing changes.
Copy file name to clipboardExpand all lines: serverless/containers/how-to/deploy-a-container-from-external-container-registry.mdx
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,10 @@ A container is a package of software that includes all dependencies: code, runti
20
20
21
21
For now, Serverless Containers only supports public images.
22
22
23
+
<Messagetype="important">
24
+
<Macroid="container-registry-note" />
25
+
</Message>
26
+
23
27
<Macroid="requirements" />
24
28
25
29
- A Scaleway account logged into the [console](https://console.scaleway.com)
@@ -33,7 +37,7 @@ For now, Serverless Containers only supports public images.
33
37
4. Complete the following steps in the wizard:
34
38
- Select the **External** container registry.
35
39
- Enter the public container **image URL** provided by the external registry. For example:
36
-
-`nginx:latest` to deploy the latest nginx image from [Docker Hub](https://hub.docker.com/search?q=)
40
+
-`nginx:latest` to deploy the latest nginx image from [Docker Hub](https://hub.docker.com/)
37
41
-`ghcr.io/namespace/image` to deploy an image from [GitHub Container Registry](https://github.com/features/packages)
38
42
- Choose the [port](/serverless/containers/concepts/#port) your container is listening on. We recommend configuring your container to listen on the `$PORT` environment variable.
39
43
- Choose a **name** for your container and, optionally, a **description**. The name must only contain alphanumeric characters and dashes.
Copy file name to clipboardExpand all lines: serverless/containers/quickstart.mdx
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ You can deploy a container from the Scaleway Container Registry or any other pub
34
34
If you have no existing Serverless Containers resources in your current Project, the creation process will guide you through the creation of a namespace, and then a container.
35
35
36
36
<Messagetype="note">
37
-
Make sure that you have [created a Container Registry namespace](/containers/container-registry/how-to/create-namespace/) and [pushed the latest NGINX Docker image](/containers/container-registry/how-to/push-images/) to it.
37
+
Make sure that you have [created a Container Registry namespace](/containers/container-registry/how-to/create-namespace/) and [pushed the latest NGINX Docker image](/containers/container-registry/how-to/push-images/)(or any other image with a web server) to it.
38
38
</Message>
39
39
40
40
1. Click **Containers** in the **Serverless** section of the side menu. The containers page displays.
@@ -70,6 +70,10 @@ If you have no existing Serverless Containers resources in your current Project,
70
70
71
71
If you have no existing Serverless Containers resources in your current Project, the creation process will guide you through the creation of a namespace, and then a container.
72
72
73
+
<Messagetype="important">
74
+
<Macroid="container-registry-note" />
75
+
</Message>
76
+
73
77
1. Click **Containers** in the **Serverless** section of the side menu. The containers page displays.
74
78
2. Click **Deploy container**. The containers namespace creation wizard displays.
Copy file name to clipboardExpand all lines: serverless/containers/troubleshooting/common-errors.mdx
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,3 +56,13 @@ The new deploy failed, and the [fallback mechanism has been triggered](/serverle
56
56
### Possible solution
57
57
58
58
Identify the element that caused the deployment to fail, fix the error, and deploy the container again.
59
+
60
+
## Issues when retrieving an external image
61
+
62
+
### Cause
63
+
64
+
Serverless products support external public registries (such as [Docker Hub](https://hub.docker.com/)), but we do not recommend using them due to uncontrolled rate limiting, which can lead to failures when starting resources, unexpected usage conditions, and pricing changes.
65
+
66
+
### Solution
67
+
68
+
We recommend using [Scaleway's Container Registry](/containers/container-registry/) instead, as it allows for a seamless integration with Serverless Containers and Jobs at a [competitive price](/faq/containerregistry/#how-am-i-billed-for-scaleway-container-registry).
Copy file name to clipboardExpand all lines: serverless/jobs/how-to/create-job-from-external-registry.mdx
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,12 @@ categories:
14
14
- jobs
15
15
---
16
16
17
-
Scaleway allows you to create jobs from external public [container registries](/containers/container-registry/concepts/#registry), such as Docker Hub, AWS container registries, GitLab container registry, etc.
17
+
Scaleway Serverless Jobs allows you to create jobs from external public [container registries](/containers/container-registry/concepts/#registry), such as Docker Hub, AWS container registries, GitLab container registry, etc.
18
18
19
-
<Messagetype="note">
20
-
Private container registries are currently not supported.
19
+
Private external container registries are currently not supported.
Copy file name to clipboardExpand all lines: serverless/jobs/quickstart.mdx
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,18 +26,17 @@ This page explains how to create a job definition with the latest Alpine Linux i
26
26
27
27
- A Scaleway account logged into the [console](https://console.scaleway.com)
28
28
-[Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization
29
+
-[Created a Container Registry namespace](/containers/container-registry/how-to/create-namespace/) and [pushed a container image](/containers/container-registry/how-to/push-images/) to it
29
30
30
31
## How to create a job definition
31
32
32
-
To keep this quickstart simple, we will create a job from a public external registry. To create a job from the Scaleway Container Registry, refer to [this documentation](/serverless/jobs/how-to/create-job-from-scaleway-registry/).
33
-
34
33
1. Click **Jobs** in the **Serverless** section of the side menu. The Jobs page displays.
35
34
36
35
2. Click **+ Create job**.
37
36
38
37
3. Complete the following steps in the wizard:
39
-
- Select the **External**container registry.
40
-
-Enter `docker.io/library/alpine:latest` in the image URL field.
38
+
- Select the **Scaleway**Container Registry.
39
+
-Select the appropriate **Registry namespace** from the drop-down list, then select the desired **container** and **tag**.
41
40
- Enter a **name** or use the automatically generated one. The name can only contain lowercase alphanumeric characters and dashes.
42
41
- Enter a **description** (optional).
43
42
- Select the region in which your job will be created.
@@ -51,6 +50,10 @@ To keep this quickstart simple, we will create a job from a public external regi
51
50
</Message>
52
51
6. Click **Create a job definition** to finish.
53
52
53
+
<Messagetype="important">
54
+
<Macroid="container-registry-note" />
55
+
</Message>
56
+
54
57
## How to run a job
55
58
56
59
1. Click **Jobs** in the **Serverless** section of the side menu. The jobs page displays.
Copy file name to clipboardExpand all lines: serverless/jobs/troubleshooting/common-errors.mdx
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,3 +20,13 @@ categories:
20
20
- Make sure you built your image for an `amd64` architecture, as `arm64` is not supported. See [Architecture](/serverless/jobs/reference-content/jobs-limitations/#Architecture) documentation.
21
21
22
22
- Make sure your deployment does not exceed the limitations of [Serverless Jobs](/serverless/jobs/reference-content/jobs-limitations/).
23
+
24
+
## Issues when retrieving an external image
25
+
26
+
### Cause
27
+
28
+
Serverless products support external public registries (such as [Docker Hub](https://hub.docker.com/)), but we do not recommend using them due to uncontrolled rate limiting, which can lead to failures when starting resources, unexpected usage conditions, and pricing changes.
29
+
30
+
### Solution
31
+
32
+
We recommend using [Scaleway's Container Registry](/containers/container-registry/) instead, as it allows for a seamless integration with Serverless Containers and Jobs at a [competitive price](/faq/containerregistry/#how-am-i-billed-for-scaleway-container-registry).
0 commit comments