Skip to content

Commit 704c2a8

Browse files
committed
Fix instance storage docker dir not created
Fixes #1176
1 parent 4625374 commit 704c2a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packer/linux/conf/bin/bk-configure-docker.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ fi
3232

3333
# Move docker root to the ephemeral device
3434
if [[ "${BUILDKITE_ENABLE_INSTANCE_STORAGE:-false}" == "true" ]]; then
35+
mkdir -p /mnt/ephemeral/docker
3536
cat <<< "$(jq '."data-root"="/mnt/ephemeral/docker"' /etc/docker/daemon.json)" > /etc/docker/daemon.json
3637
fi
3738

0 commit comments

Comments
 (0)