Upgrade Docker library
Goal
Currently, it is used not so fresh version of the Docker library (github.com/docker/docker). Most likely, we have to upgrade it. For example, testcontainers-go - github.com/testcontainers/testcontainers-go (v0.10.0+) requires a new version of the Docker library
It seems to be a major change because at least upgrading the library requires updating the Docker daemon.
TODO / How to implement
- explore the upcoming changes
- update the library
github.com/docker/dockertov20.10.6+incompatible(or newer) ingo.mod - fix incompatible changes:
- the
ContainerCreatemethod requires a new parameter:platform *specs.Platform, (useDefaultSpec()otherwise it will return an errorError response from daemon: "unknown": unknown operating system or architecture: invalid argument - check the Docker daemon version
- possible other issues
- the
- Update the docs: mention breaking changes and prepare the migration guide