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/docker to v20.10.6+incompatible (or newer) in go.mod
  • fix incompatible changes:
    • the ContainerCreate method requires a new parameter: platform *specs.Platform, (use DefaultSpec() otherwise it will return an error Error response from daemon: "unknown": unknown operating system or architecture: invalid argument
    • check the Docker daemon version
    • possible other issues
  • Update the docs: mention breaking changes and prepare the migration guide

Acceptance criteria