From 2f453617a713d1658848e71805ff3523753b5180 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Sun, 24 Mar 2019 12:21:37 -0700 Subject: [PATCH] Update README.md --- containers/docker-in-docker/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/containers/docker-in-docker/README.md b/containers/docker-in-docker/README.md index 0f9b474669..5705fa1764 100644 --- a/containers/docker-in-docker/README.md +++ b/containers/docker-in-docker/README.md @@ -28,7 +28,7 @@ FROM node:8 The trick that makes this work is as follows: -1. Install the Docker CLI in the container. From `dev-container.dockerfile`: +1. First, install the Docker CLI in the container. From `dev-container.dockerfile`: ```Dockerfile # Install Docker CE CLI @@ -38,7 +38,7 @@ The trick that makes this work is as follows: && apt-get update \ && apt-get install -y docker-ce-cli ``` -2. Forward the Docker socket. From `devContainer.json`: +2. Then just forward the Docker socket by mounting it in the container. From `devContainer.json`: ```json "runArgs": ["-v","/var/run/docker.sock:/var/run/docker.sock"]