Files
Jing ChenandgVisor bot 0a0f202662 Refresh gVisor tests and docs to tell that privilege container is not needed.
Docker container and privileged container can be started w/ a limited
number of capabilities from our experiment.

PiperOrigin-RevId: 704601261
2024-12-10 01:26:21 -08:00

19 lines
421 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: docker-in-gvisor
spec:
runtimeClassName: gvisor
containers:
- name: docker-in-gvisor
image: us-central1-docker.pkg.dev/gvisor-presubmit/gvisor-presubmit-images/basic/docker_x86_64:latest
securityContext:
capabilities:
add: ["all"]
volumeMounts:
- name: docker
mountPath: /var/lib/docker
volumes:
- name: docker
emptyDir: {}