Skip to content

Commit 82732b4

Browse files
committed
Merge pull request #4715 from iancoffey/docker_env
docs(hacking): add docs to show how to use the docker-machine env
2 parents b07db69 + ad7b283 commit 82732b4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs/contributing/hacking.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,13 @@ This will create a new virtual machine named `deis-registry` that will take
113113
up as much as 100,000 MB of disk space. Registries tend to be large, so
114114
allocating a big disk is a good idea.
115115

116+
Once the deis-registry machine exists, source its values into your environment
117+
so your docker client knows how to use the new machine.
118+
119+
.. code-block:: console
120+
121+
$ eval "$(docker-machine env deis-registry)"
122+
116123
.. note::
117124

118125
Because the registry that we create will not have a valid SSL certificate,

0 commit comments

Comments
 (0)