mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #3161 from SvenDowideit/make-replace-docker-binary-note-more-obvious
associate swapping the built docker binary with building the binary, rather than a note in building the docs
This commit is contained in:
commit
6cf8ec606e
1 changed files with 15 additions and 4 deletions
|
@ -44,7 +44,8 @@ This following command will build a development environment using the Dockerfile
|
||||||
|
|
||||||
sudo make build
|
sudo make build
|
||||||
|
|
||||||
If the build is successful, congratulations! You have produced a clean build of docker, neatly encapsulated in a standard build environment.
|
If the build is successful, congratulations! You have produced a clean build of
|
||||||
|
docker, neatly encapsulated in a standard build environment.
|
||||||
|
|
||||||
|
|
||||||
Step 4: Build the Docker Binary
|
Step 4: Build the Docker Binary
|
||||||
|
@ -58,6 +59,19 @@ To create the Docker binary, run this command:
|
||||||
|
|
||||||
This will create the Docker binary in ``./bundles/<version>-dev/binary/``
|
This will create the Docker binary in ``./bundles/<version>-dev/binary/``
|
||||||
|
|
||||||
|
Using your built Docker binary
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
The binary is available outside the container in the directory
|
||||||
|
``./bundles/<version>-dev/binary/``. You can swap your host docker executable
|
||||||
|
with this binary for live testing - for example, on ubuntu:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
sudo service docker stop ; sudo cp $(which docker) $(which docker)_ ; sudo cp ./bundles/<version>-dev/binary/docker-<version>-dev $(which docker);sudo service docker start
|
||||||
|
|
||||||
|
.. note:: Its safer to run the tests below before swapping your hosts docker binary.
|
||||||
|
|
||||||
|
|
||||||
Step 5: Run the Tests
|
Step 5: Run the Tests
|
||||||
---------------------
|
---------------------
|
||||||
|
@ -134,9 +148,6 @@ to it, you can build the documentation and then serve it by:
|
||||||
# type Ctrl-C to exit
|
# type Ctrl-C to exit
|
||||||
|
|
||||||
|
|
||||||
.. note:: The binary is available outside the container in the directory ``./bundles/<version>-dev/binary/``. You can swap your host docker executable with this binary for live testing - for example, on ubuntu: ``sudo service docker stop ; sudo cp $(which docker) $(which docker)_ ; sudo cp ./bundles/<version>-dev/binary/docker-<version>-dev $(which docker);sudo service docker start``.
|
|
||||||
|
|
||||||
|
|
||||||
**Need More Help?**
|
**Need More Help?**
|
||||||
|
|
||||||
If you need more help then hop on to the `#docker-dev IRC channel <irc://chat.freenode.net#docker-dev>`_ or post a message on the `Docker developer mailinglist <https://groups.google.com/d/forum/docker-dev>`_.
|
If you need more help then hop on to the `#docker-dev IRC channel <irc://chat.freenode.net#docker-dev>`_ or post a message on the `Docker developer mailinglist <https://groups.google.com/d/forum/docker-dev>`_.
|
||||||
|
|
Loading…
Reference in a new issue