1
0
mirror of https://github.com/docker/cli.git synced 2026-01-26 15:41:42 +03:00
Files
cli/components/engine/docs/sources/examples/running_examples.rst
Andy Rothfusz fd36c14020 Fix #1517, #1521 by adding sudo to examples and installation.
Upstream-commit: d4eab77f0c604e10f63519833dc25fbd5a3419bf
Component: engine
2013-08-14 16:21:36 -07:00

574 B

title
Running the Examples
description
An overview on how to run the docker examples
keywords
docker, examples, how to

Running the Examples

All the examples assume your machine is running the docker daemon. To run the docker daemon in the background, simply type:

sudo docker -d &

Now you can run docker in client mode: by defalt all commands will be forwarded to the docker daemon via a protected Unix socket, so you must run as root.

sudo docker help