Skip to content

Commit 310ed7e

Browse files
committed
Merge pull request #2377 from mboersma/remove-tls-hack
docs(testing): remove section about disabling TLS in boot2docker
2 parents 69f0f82 + 7c05e78 commit 310ed7e

1 file changed

Lines changed: 0 additions & 40 deletions

File tree

docs/contributing/testing.rst

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -37,46 +37,6 @@ The tests assume that you have Deis' `source code`_ in your ``$GOPATH``:
3737
$ go get -u -v github.com/deis/deis
3838
$ cd $GOPATH/src/github.com/deis/deis
3939
40-
Disable Docker TLS
41-
^^^^^^^^^^^^^^^^^^
42-
43-
If you aren't using Linux, your Docker client probably talks to a Docker server
44-
over a TCP connection, as in boot2docker_. Since Docker 1.3.0, that connection
45-
is secured with TLS. Deis' tests use Docker client code directly, but don't yet
46-
incorporate TLS changes.
47-
48-
For now, you must disable Docker TLS to run Deis' functional tests. Here is how
49-
to revert to plain TCP for boot2docker_ 1.3.0. You will add the line
50-
``DOCKER_TLS=""`` to line 24 of */etc/init.d/docker* in your boot2docker VM, so
51-
that section will look like this:
52-
53-
.. code-block:: bash
54-
55-
start() {
56-
DOCKER_TLS="" # <- Add this line and save!
57-
# Not enabling Docker daemon TLS by default.
58-
if [ "$DOCKER_TLS" != "" ]; then
59-
60-
Open a shell to the boot2docker VM, make the change, and restart docker:
61-
62-
.. code-block:: console
63-
64-
$ boot2docker up && boot2docker ssh
65-
$ sudo vi /etc/init.d/docker # edit as above, and save
66-
$ sudo /etc/init.d/docker restart
67-
$ exit
68-
69-
Back on your host machine, ensure your ``DOCKER_HOST`` environment variable
70-
uses port `2375`:
71-
72-
.. code-block:: console
73-
74-
$ export DOCKER_HOST=tcp://192.168.59.103:2375
75-
$ unset DOCKER_TLS_VERIFY
76-
$ docker info
77-
Containers: 34
78-
...
79-
8040
Start a Docker Registry
8141
^^^^^^^^^^^^^^^^^^^^^^^
8242

0 commit comments

Comments
 (0)