running_examples.rst 600 B

12345678910111213141516171819202122
  1. :title: Running the Examples
  2. :description: An overview on how to run the docker examples
  3. :keywords: docker, examples, how to
  4. .. _running_examples:
  5. Running The Examples
  6. --------------------
  7. All the examples assume your machine is running the docker daemon. To run the docker daemon in the background, simply type:
  8. .. code-block:: bash
  9. sudo docker -d &
  10. Now you can run docker in client mode: all commands will be forwarded to the docker daemon, so the client
  11. can run from any account.
  12. .. code-block:: bash
  13. # now you can run docker commands from any account.
  14. docker help