This also updates the comments at the top of the file to note that `-v /var/lib/docker` should be supplied for running `test-integration-cli` and that `hack/dind` is actually also required for `test-unit`.
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
# docker build -t docker:simple -f Dockerfile.simple . |
| 2 | 2 |
# docker run --rm docker:simple hack/make.sh dynbinary |
| 3 |
-# docker run --rm --privileged docker:simple hack/make.sh test-unit |
|
| 4 |
-# docker run --rm --privileged docker:simple hack/dind hack/make.sh dynbinary test-integration-cli |
|
| 3 |
+# docker run --rm --privileged docker:simple hack/dind hack/make.sh test-unit |
|
| 4 |
+# docker run --rm --privileged -v /var/lib/docker docker:simple hack/dind hack/make.sh dynbinary test-integration-cli |
|
| 5 | 5 |
|
| 6 | 6 |
# This represents the bare minimum required to build and test Docker. |
| 7 | 7 |
|
| ... | ... |
@@ -24,6 +24,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ |
| 24 | 24 |
procps \ |
| 25 | 25 |
xz-utils \ |
| 26 | 26 |
\ |
| 27 |
+ aufs-tools \ |
|
| 27 | 28 |
lxc \ |
| 28 | 29 |
&& rm -rf /var/lib/apt/lists/* |
| 29 | 30 |
|