I have been trying to update to the latest 1.43 latest for some weeks but I couldn't due to some cryptic error on the socket when I tried to do an imageBuild.
[error] An error occur when writing request to client (BROKEN EPIPE)
ERROR: fwrite(): Send of 8192 bytes failed with errno=32 Broken pipe
in /home/basin/vendor/php-http/socket-client/src/RequestWriter.php:97
After quite a lot of investigation updating docker-php commit by commit I found
c44e046
I don't know if that was an accidental removal since the commit message explains something else.
That commit makes many classes under the \Docker\Endpoint dead code except for ImagePush.
In the case of ImageBuild the wrapper endpoint is needed to send a proper tar stream to the socket.
Also I don't know if the other calls like containerLogs are broken too.
I believe the action plan would be to first restore those lines in Docker.php and then add some kind of end-to-end tests to ensure imageBuild won't be broken in the future.
I have been trying to update to the latest 1.43 latest for some weeks but I couldn't due to some cryptic error on the socket when I tried to do an imageBuild.
After quite a lot of investigation updating docker-php commit by commit I found
c44e046
I don't know if that was an accidental removal since the commit message explains something else.
That commit makes many classes under the
\Docker\Endpointdead code except for ImagePush.In the case of ImageBuild the wrapper endpoint is needed to send a proper tar stream to the socket.
Also I don't know if the other calls like
containerLogsare broken too.I believe the action plan would be to first restore those lines in Docker.php and then add some kind of end-to-end tests to ensure imageBuild won't be broken in the future.