In the output when building, I am getting this message:
[output clipped, log limit 1MiB reached]
from the command
docker build --progress plain .
The current workaround I have is to pipe larger sections of the RUN command in the dockerfile to /dev/null i.e.
RUN \
echo "**** install packages ****" && \
apt-get update && \
apt-get install -y libcairo2-dev libjpeg-turbo8-dev libpng-dev libtool-bin libossp-uuid-dev wget maven default-jdk > /dev/null
--driver-opt env.BUILDKIT_STEP_LOG_MAX_SIZE=10485760(i.e 10MiB)-qq, combining-yqq--driver-optisn't an available flag. ``` docker build --driver-opt env.BUILDKIT_STEP_LOG_MAX_SIZE=10485760 . unknown flag: --driver-opt See 'docker build --help'. ``` I'm assuming that the --driver-opt flag was taken from buildx, but that doesn't seem to be an option for buildx unless you enable experimental mode. -- testing experimental mode with buildx now.docker buildx create --driver-opt env.BUILDKIT_STEP_LOG_MAX_SIZE=50000000and then using the builder withdocker buildx build, but have not been able to fix the issue when using the default builder anddocker build.