I upgraded to Ubuntu 24 LTS from Ubuntu 20. Installed docker using apt-get and thus docker engine is also latest (Docker version 27.1.1, build 6312585). When I build docker it shows error at the beginning of each log output line but image is built successfully and runs also correctly. I am building docker image from a Dockerfile.
[success] All package validations passed[error] #0 building with "default" instance using docker driver[error] #1 [internal] load build definition from Dockerfile[error] #1 transferring dockerfile: 545B done[error] #1 DONE 0.0s......