Run each attempt in a Docker session, rather than running the script in there. Startup is fast.
Workaround some JDK bug.