docker: fix flag.flLog decl and add O_CREATE

Docker-DCO-1.1-Signed-off-by: Johan Euphrosine <proppy@google.com> (github: google)