CircleCI has significantly improved the execution speed and reliability of jobs that use the setup_remote_docker feature.
Our new implementation of the underlying architecture that powers jobs using setup_remote_docker gives you better flexibility, reliability, performance.
Before: All jobs that used setup_remote_docker used a primary container that was the size of the resource class specified in config.yml & a remote medium-sized Linux virtual machine to execute Docker commands, regardless of the resource class size specified in .circleci/config.yml
. The number of compute credits/min for the job was dictated by the container size, the remote virtual machine was not charged for.
These jobs sent network traffic across the internet between the container and the virtual machine which would result in both transient network failures and slow job performance.
Now: You can rightsize the remote Docker engine to use as little or as much compute as you need as all remote docker jobs only run in one virtual machine. There is also no cross-internet network transfer which speeds up job performance and makes the jobs more reliable. The number of compute credits/min will be dictated by the size of the virtual machine (see “Pricing update” below).
Starting June 15, 2023, jobs that use setup_remote_docker will be identified with a “Remote Docker” executor in the CircleCI UI, instead of “Docker Executor” (see example below).
This will help you easily see which jobs use setup_remote_docker in the Plan Usage page, Insights, and other parts of the CircleCI web app, and compare their performance with non-remote Docker jobs:
Pricing update, effective June 15, 2023
The pricing for jobs using the new remote Docker executor will be:
If a job defined in your .circleci/config.yml
file uses a Small Docker resource class with the setup_remote_docker feature, starting June 15, 2023, the job will execute and appear in the CircleCI UI as Executor = Remote Docker, Resource Class = Medium.
If a job defined in your .circleci/config.yml
file uses a Medium+ Docker resource class with the setup_remote_docker feature, starting June 15, 2023, the job will execute and appear in the CircleCI UI as Executor = Remote Docker, Resource Class = Large.
No action is required on your part. Adjust your resource class sizes to fit your team’s needs. If you have questions, comment below.