You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 30, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: containers/docker-in-docker-compose/README.md
+5-19Lines changed: 5 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,41 +22,27 @@ Dev containers can be useful for all types of applications including those that
22
22
23
23
If you prefer, you can also just look through the contents of the `.devcontainer` folder to understand how to make changes to your own project.
24
24
25
-
No additional setup steps are required, but note that the included `.devcontainer/Dockerfile` can be altered to work with other Debian/Ubuntu-based container images such as `node` or `python`. First, update the `FROM` statement to reference the new base image. For example:
26
-
27
25
```Dockerfile
28
26
FROM node:8
29
27
```
30
28
31
-
Next, if you choose an image that is Debian based instead of Ubuntu, you will need to update this line...
See the [Docker CE installation steps for Linux](https://docs.docker.com/install/linux/docker-ce/debian/) for details on other distributions. Note that you only need the Docker CLI in this particular case.
44
30
45
31
## How it works
46
32
47
33
The trick that makes this work is as follows:
48
34
49
-
1. First, install the Docker CLI in the container. From `dev-container.dockerfile`:
35
+
1. First, install the Docker CLI in the container. From `.devcontainer/Dockerfile`:
50
36
51
37
```Dockerfile
52
-
# Install Docker CE CLI
53
38
RUN apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common \
0 commit comments