Skip to content

Commit ce69352

Browse files
committed
fix(devctr): specify VFS as the storage engine inside devctr
With Docker Engine v28 and before, overlay2 was the default storage engine used. When launching nested dockerd, an error would be thrown and dockerd would silently switch to use VFS as the storage engine. With Docker Engine v29 [1], the default storage engine is now overlayfs, which does not throw an error on boot, but causes downstream issues when trying to pull container images. This commit enforces the previous behaviour, ensuring that new nested Docker versions (which we do not pin) do not cause errors. [1]: https://docs.docker.com/engine/release-notes/29/#2900 Signed-off-by: James Curtis <jxcurtis@amazon.co.uk>
1 parent 0ac7a79 commit ce69352

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/functions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ function validate_version {
132132

133133
# Wait for dockerd to come up in devctr
134134
prepare_docker() {
135-
nohup /usr/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://127.0.0.1:2375 &
135+
nohup /usr/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://127.0.0.1:2375 --storage-engine=vfs &
136136

137137
# Wait for Docker socket to be created
138138
timeout 15 sh -c "until docker info; do echo .; sleep 1; done"

0 commit comments

Comments
 (0)