Browse code

Document using the Dockerfile for interactive dev/test cycles

Solomon Hykes authored on 2013/09/07 12:16:13
Showing 1 changed files
... ...
@@ -7,6 +7,10 @@
7 7
 # # Apparmor messes with privileged mode: disable it
8 8
 # /etc/init.d/apparmor stop ; /etc/init.d/apparmor teardown
9 9
 #
10
+# # Mount your source in an interactive container for quick testing:
11
+# docker run -v `pwd`:/go/src/github.com/dotcloud/docker -privileged -lxc-conf=lxc.aa_profile=unconfined -i -t docker bash
12
+#
13
+#
10 14
 # # Run the test suite:
11 15
 # docker run -privileged -lxc-conf=lxc.aa_profile=unconfined docker go test -v
12 16
 #