unknown flag: --driver-opt

The docker build console is clipping the ouput so i can't analyse the root cause of the build failure.

#22 (closed) 402.8 [output clipped, log limit 1MiB reached]" To get if fixed iy tried to increase log site with below custom docker args. image As i need to inject some CI env vars, i am also using image Following the gitlabs docs i need to add support to Dockerfile

syntax = docker/dockerfile:experimental

Gitlab runner complains unknown flag: --driver-opt. How can i increase console or get around the clipping in someway.