| #cloud-config | |
| write_files: | |
| - path: /etc/docker/daemon.json | |
| permissions: 0644 | |
| owner: root | |
| content: | | |
| { | |
| "live-restore": true, | |
| "storage-driver": "overlay2", | |
| "runtimes": { "runsc": { "path": "/var/lib/docker/runsc", "runtimeArgs": [] } } | |
| } | |
| runcmd: | |
| - curl -L -o /var/lib/docker/runsc https://storage.googleapis.com/gvisor/releases/release/latest/x86_64/runsc | |
| - chmod +x /var/lib/docker/runsc | |
| - systemctl reload docker.service |