Docker versions can be different depending on your configured build environment.
Also, in certain environments, you can manually configure which version of Docker to use.
Remote Docker
When using the docker
executor and setup_remote_docker
configuration, you are given access to running docker commands from within your container.
You can configure setup_remote_docker
to use a specific version by setting it as a version
attribute.
For example:
- setup_remote_docker:
version: default
Please see our documentation for the list of available versions.
Machine Executor
When using the machine
executor the available docker versions depend on which image you're using. You can see the available images and their included docker versions on this page.
Note: If you have any docker version needs outside of what is currently available, please open a feature request on our CircleCI Ideas page.
Comments
Article is closed for comments.