A recent change in apocas/docker-modem#181 defaults to query string serialization of array options passed to Modem.dial.
While this change goes in the right direction as using query string arrays seems to be the approach used for many of the routes in the Docker API, there are a few exceptions, one of which is the cachefrom option in ImageBuild, which expects "JSON array of images used for build cache resolution.".
The update of docker-modem to 5.0.6 caused a breaking change in the buildImage operation, as providing a cachefrom array argument now will result in the following error
Error: (HTTP code 400) unexpected - error reading cache-from: invalid character 'a' looking for beginning of value
A recent change in apocas/docker-modem#181 defaults to query string serialization of array options passed to
Modem.dial.While this change goes in the right direction as using query string arrays seems to be the approach used for many of the routes in the Docker API, there are a few exceptions, one of which is the
cachefromoption in ImageBuild, which expects "JSON array of images used for build cache resolution.".The update of
docker-modemto 5.0.6 caused a breaking change in thebuildImageoperation, as providing acachefromarray argument now will result in the following error