Skip to content

Commit 28a09d1

Browse files
add video and add back note about deprecated keys
1 parent d2f4f68 commit 28a09d1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

jekyll/_cci2/docker-layer-caching.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ This document describes how to enable Docker Layer Caching (DLC) which is useful
1515

1616
**Note:** You must [open a support ticket](https://support.circleci.com/hc/en-us/requests/new) to have a CircleCI Sales representative contact you about enabling this feature on your account for an additional fee.
1717

18+
## Video Overview of Dock Layer Caching
19+
20+
<iframe width="560" height="315" src="https://www.youtube.com/embed/AL7aBN7Olng" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
21+
1822
## Docker Layer Caching in Remote Docker
1923
Consider enabling DLC to significantly reduce image build times by reusing the unchanged layers of the application image built during your job.
2024

@@ -31,6 +35,8 @@ When `docker_layer_caching` is set to `true`, CircleCI will try to reuse Docker
3135

3236
If you run many parallel jobs for the same project that depend on the same environment, all of them will be provided with a Remote Docker Environment. Docker Layer Caching guarantees jobs to have exclusive Remote Docker Environments that other jobs cannot access. However, some of the jobs may have cached layers, some may not have cached layers, and not all of the jobs will have identical cache.
3337

38+
**Note:** Previously the `docker_layer_caching` was called `reusable`. The `reusable` key is deprecated in favor of the `docker_layer_caching` key. In addition, the `exclusive` option is deprecated in favor of all VMs being treated as exclusive. This indicates that jobs are guaranteed to have an exclusive Remote Docker Environment that other jobs cannot access when using `docker_layer_caching`.
39+
3440
## Docker Layer Caching in Machine Executor
3541

3642
Docker Layer Caching is also available for [`machine` executor](https://circleci.com/docs/2.0/executor-types/#using-machine), and it works in exactly the same way as described above. Enable Docker Layer Caching with the `machine` executor by using the example below.

0 commit comments

Comments
 (0)