Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuxel committed Mar 24, 2019
1 parent 1e7837b commit 2f45361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions containers/docker-in-docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"]
Expand Down

0 comments on commit 2f45361

Please sign in to comment.