Skip to content

Commit c91d9fe

Browse files
committed
DIND: fix CDI_IN_DOCKER_ENABLED
I had copy-and-pasted a previous commit without the follow-up fix...
1 parent d04ecf7 commit c91d9fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

images/bootstrap/runner.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ if [[ "${DOCKER_IN_DOCKER_ENABLED}" == "true" ]]; then
4646
export CDI_IN_DOCKER_ENABLED=${CDI_IN_DOCKER_ENABLED:-false}
4747
if [[ "${CDI_IN_DOCKER_ENABLED}" == "true" ]]; then
4848
echo "Enabling CDI for Docker."
49-
cat /etc/docker/daemon.json <<EOF
49+
mkdir -p /etc/docker/
50+
cat >/etc/docker/daemon.json <<EOF
5051
{
5152
"features": {
5253
"cdi": true

0 commit comments

Comments
 (0)