docker(role): provide option to set up gVisor (runsc runtime)
This commit is contained in:
parent
d4a1dee108
commit
f956ed6f35
8 changed files with 69 additions and 19 deletions
19
roles/docker/templates/daemon.json.j2
Normal file
19
roles/docker/templates/daemon.json.j2
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"log-driver": "journald",
|
||||
"log-opts": {
|
||||
"tag": "{{ '{{.Name}}' }}"
|
||||
},
|
||||
"ipv6": true,
|
||||
"ip6tables": true,
|
||||
"fixed-cidr-v6": "fd00:1::/64",
|
||||
"default-network-opts": {
|
||||
"bridge": {
|
||||
"com.docker.network.enable_ipv6":"true"
|
||||
}
|
||||
}{% if docker__gvisor_setup %},
|
||||
"runtimes": {
|
||||
"runsc": {
|
||||
"path": "/usr/bin/runsc"
|
||||
}
|
||||
}{% endif %}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue