Skip to content

Commit

Permalink
[build] use overlay2 for DinD by default (#19078)
Browse files Browse the repository at this point in the history
overlay2 is more faster comparing to vfs (more info in #11111)
And we use this option to build SONiC almost two years.
But it may be not obvious for some people that default choice is slow.
I think we should set overlay2 as a default storage driver for DinD.
  • Loading branch information
k-v1 authored Jun 5, 2024
1 parent ac9ca02 commit ff39ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/config
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ INCLUDE_FIPS ?= y
ENABLE_FIPS ?= n

# SONIC_SLAVE_DOCKER_DRIVER - set the sonic slave docker storage driver
SONIC_SLAVE_DOCKER_DRIVER ?= vfs
SONIC_SLAVE_DOCKER_DRIVER ?= overlay2

# SONIC_OS_VERSION - sonic os version
SONIC_OS_VERSION ?= 12
Expand Down

0 comments on commit ff39ff6

Please sign in to comment.