dockworker
dockworker copied to clipboard
specify api version
Dockworker uses / as the base path. So the latest version of api is used.
But now, only v1.26 is officialy supported. (bound of resource of @eldesh)
- Add fix version api (at least)
- Check version with using
/version(or/_ping?) . - Separate types with api version (how to abstract ?)
mod::v1_26::create_imageor any other style
At least, reflect the value of the DOCKER_API_VERSION (https://docs.docker.com/develop/sdk/).