Skip to content

Commit c17b36a

Browse files
committed
docs(srv): update
1 parent 4bf8f48 commit c17b36a

File tree

1 file changed

+35
-3
lines changed

1 file changed

+35
-3
lines changed
Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1-
"label": "Containers sandbox",
2-
"slug": "containers-sandbox"
3-
},
1+
---
2+
meta:
3+
title: Containers sandbox
4+
description: Learn more about the sandboxing environments of Scaleway Serverless Containers.
5+
content:
6+
h1: Containers sandbox
7+
paragraph: Learn more about the sandboxing environments of Scaleway Serverless Containers.
8+
tags: containers sandbox sandboxing gvisor isolation mechanism serverless v1 v2 clock drift skew
9+
dates:
10+
validation: 2025-05-07
11+
posted: 2025-05-07
12+
categories:
13+
- serverless
14+
- containers
15+
---
16+
17+
In the context of Scaleway Serverless Containers, a [Sandbox environment](/serverless-containers/concepts/#sandbox) is a critical security mechanism that isolates each container from others, ensuring that they operate in a secure and controlled space. Containers run in dedicated execution environments that prevent unauthorized access and potential interference between different resources.
18+
19+
Scaleway Serverless Containers offers two sandbox environment options:
20+
21+
- Sandbox v1 (legacy)
22+
- Sandbox v2 (recommended)
23+
24+
## Sandbox v1
25+
26+
Sandbox v1 is Serverless Containers' legacy sandboxing environment with slower [cold starts](/serverless-containers/concepts/#cold-start), but fully supports Linux system call interface. This option is recommended when processing large amounts of *syscalls*.
27+
28+
<Message type="important">
29+
Sandbox v1 are known to experience clock drift over time. A difference of approximately **two seconds** can be observed after 24 hours of uninterrupted execution. This issue especially affects long-running containers, whereas short-lived containers are much less impacted.
30+
</Message>
31+
32+
## Sandbox v2
33+
34+
Sandbox v2 is a modern isolation environment that relies on [gVisor](https://gvisor.dev/). This option offers faster [cold starts](/serverless-containers/concepts/#cold-start), but only implements a selection of Linux syscalls.
35+
Refer to the [official gVisor documentation](https://gvisor.dev/docs/user_guide/compatibility/linux/amd64/) for a comprehensive list of supported syscalls.

0 commit comments

Comments
 (0)