-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
This page https://gvisor.dev/docs/tutorials/docker-in-gvisor/ does not mention issues with running docker in gvisor.
What I learned so far:
- standard
docker:dindimage cannot be used, must use custom initialization for docker like in images/basic/docker/start-dockerd.sh, in particular- enable ip forwarding
- setup SNAT using
iptables-legacy - most importantly, invoke
dockerdwith flags--iptables=false --ip6tables=false
- because of
--iptablesflag,docker run --exposeflag does not work;docker run --network=hostmust be used if an inner container needs to have the port exposed
Please confirm this is correct, and I can submit a PR to that page.
Metadata
Metadata
Assignees
Labels
No labels