From 689bcd1dc3afdcae5bd45e32541b464fcf3ecbd0 Mon Sep 17 00:00:00 2001 From: Andy Rothfusz Date: Thu, 17 Oct 2013 17:57:01 -0700 Subject: [PATCH] Clean up build warnings. Remove redundant files. --- docs/sources/api/index.rst | 2 +- docs/sources/commandline/cli.rst | 702 ++++++++++++++++-- docs/sources/commandline/command/attach.rst | 59 -- docs/sources/commandline/command/build.rst | 65 -- docs/sources/commandline/command/commit.rst | 52 -- docs/sources/commandline/command/cp.rst | 14 - docs/sources/commandline/command/diff.rst | 13 - docs/sources/commandline/command/events.rst | 34 - docs/sources/commandline/command/export.rst | 13 - docs/sources/commandline/command/history.rst | 13 - docs/sources/commandline/command/images.rst | 26 - docs/sources/commandline/command/import.rst | 44 -- docs/sources/commandline/command/info.rst | 13 - docs/sources/commandline/command/insert.rst | 23 - docs/sources/commandline/command/inspect.rst | 13 - docs/sources/commandline/command/kill.rst | 13 - docs/sources/commandline/command/login.rst | 24 - docs/sources/commandline/command/logs.rst | 13 - docs/sources/commandline/command/port.rst | 13 - docs/sources/commandline/command/ps.rst | 17 - docs/sources/commandline/command/pull.rst | 13 - docs/sources/commandline/command/push.rst | 13 - docs/sources/commandline/command/restart.rst | 13 - docs/sources/commandline/command/rm.rst | 13 - docs/sources/commandline/command/rmi.rst | 13 - docs/sources/commandline/command/run.rst | 85 --- docs/sources/commandline/command/search.rst | 14 - docs/sources/commandline/command/start.rst | 13 - docs/sources/commandline/command/stop.rst | 15 - docs/sources/commandline/command/tag.rst | 15 - docs/sources/commandline/command/top.rst | 13 - docs/sources/commandline/command/version.rst | 7 - docs/sources/commandline/command/wait.rst | 13 - .../docker_images.gif | Bin docs/sources/commandline/index.rst | 35 +- docs/sources/examples/hello_world.rst | 2 +- docs/sources/index.rst | 2 - 37 files changed, 651 insertions(+), 794 deletions(-) delete mode 100644 docs/sources/commandline/command/attach.rst delete mode 100644 docs/sources/commandline/command/build.rst delete mode 100644 docs/sources/commandline/command/commit.rst delete mode 100644 docs/sources/commandline/command/cp.rst delete mode 100644 docs/sources/commandline/command/diff.rst delete mode 100644 docs/sources/commandline/command/events.rst delete mode 100644 docs/sources/commandline/command/export.rst delete mode 100644 docs/sources/commandline/command/history.rst delete mode 100644 docs/sources/commandline/command/images.rst delete mode 100644 docs/sources/commandline/command/import.rst delete mode 100644 docs/sources/commandline/command/info.rst delete mode 100644 docs/sources/commandline/command/insert.rst delete mode 100644 docs/sources/commandline/command/inspect.rst delete mode 100644 docs/sources/commandline/command/kill.rst delete mode 100644 docs/sources/commandline/command/login.rst delete mode 100644 docs/sources/commandline/command/logs.rst delete mode 100644 docs/sources/commandline/command/port.rst delete mode 100644 docs/sources/commandline/command/ps.rst delete mode 100644 docs/sources/commandline/command/pull.rst delete mode 100644 docs/sources/commandline/command/push.rst delete mode 100644 docs/sources/commandline/command/restart.rst delete mode 100644 docs/sources/commandline/command/rm.rst delete mode 100644 docs/sources/commandline/command/rmi.rst delete mode 100644 docs/sources/commandline/command/run.rst delete mode 100644 docs/sources/commandline/command/search.rst delete mode 100644 docs/sources/commandline/command/start.rst delete mode 100644 docs/sources/commandline/command/stop.rst delete mode 100644 docs/sources/commandline/command/tag.rst delete mode 100644 docs/sources/commandline/command/top.rst delete mode 100644 docs/sources/commandline/command/version.rst delete mode 100644 docs/sources/commandline/command/wait.rst rename docs/sources/{static_files => commandline}/docker_images.gif (100%) diff --git a/docs/sources/api/index.rst b/docs/sources/api/index.rst index d7345e8746..017369143c 100644 --- a/docs/sources/api/index.rst +++ b/docs/sources/api/index.rst @@ -14,5 +14,5 @@ Your programs and scripts can access Docker's functionality via these interfaces registry_api index_api docker_remote_api - + remote_api_client_libraries diff --git a/docs/sources/commandline/cli.rst b/docs/sources/commandline/cli.rst index 62dd3707a1..71a902d46f 100644 --- a/docs/sources/commandline/cli.rst +++ b/docs/sources/commandline/cli.rst @@ -4,11 +4,8 @@ .. _cli: -Overview -====================== - -Docker Usage -~~~~~~~~~~~~~~~~~~ +Command Line Help +----------------- To list available commands, either run ``docker`` with no parameters or execute ``docker help``:: @@ -21,71 +18,666 @@ To list available commands, either run ``docker`` with no parameters or execute ... +.. _cli_attach: + +``attach`` +---------- + +:: + + Usage: docker attach CONTAINER + + Attach to a running container. + +You can detach from the container again (and leave it running) with +``CTRL-c`` (for a quiet exit) or ``CTRL-\`` to get a stacktrace of +the Docker client when it quits. + +To stop a container, use ``docker stop`` + +To kill the container, use ``docker kill`` + +.. _cli_attach_examples: + +Examples: +~~~~~~~~~ + +.. code-block:: bash + + $ ID=$(sudo docker run -d ubuntu /usr/bin/top -b) + $ sudo docker attach $ID + top - 02:05:52 up 3:05, 0 users, load average: 0.01, 0.02, 0.05 + Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie + Cpu(s): 0.1%us, 0.2%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st + Mem: 373572k total, 355560k used, 18012k free, 27872k buffers + Swap: 786428k total, 0k used, 786428k free, 221740k cached + + PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND + 1 root 20 0 17200 1116 912 R 0 0.3 0:00.03 top + + top - 02:05:55 up 3:05, 0 users, load average: 0.01, 0.02, 0.05 + Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie + Cpu(s): 0.0%us, 0.2%sy, 0.0%ni, 99.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st + Mem: 373572k total, 355244k used, 18328k free, 27872k buffers + Swap: 786428k total, 0k used, 786428k free, 221776k cached + + PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND + 1 root 20 0 17208 1144 932 R 0 0.3 0:00.03 top -Available Commands -~~~~~~~~~~~~~~~~~~ + top - 02:05:58 up 3:06, 0 users, load average: 0.01, 0.02, 0.05 + Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie + Cpu(s): 0.2%us, 0.3%sy, 0.0%ni, 99.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st + Mem: 373572k total, 355780k used, 17792k free, 27880k buffers + Swap: 786428k total, 0k used, 786428k free, 221776k cached -.. include:: command/attach.rst + PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND + 1 root 20 0 17208 1144 932 R 0 0.3 0:00.03 top + ^C$ + $ sudo docker stop $ID -.. include:: command/build.rst +.. _cli_build: -.. include:: command/commit.rst +``build`` +--------- -.. include:: command/cp.rst +:: -.. include:: command/diff.rst + Usage: docker build [OPTIONS] PATH | URL | - + Build a new container image from the source code at PATH + -t="": Repository name (and optionally a tag) to be applied to the resulting image in case of success. + -q=false: Suppress verbose build output. + -no-cache: Do not use the cache when building the image. + -rm: Remove intermediate containers after a successful build + When a single Dockerfile is given as URL, then no context is set. When a git repository is set as URL, the repository is used as context -.. include:: command/events.rst +.. _cli_build_examples: -.. include:: command/export.rst +Examples +~~~~~~~~ -.. include:: command/history.rst +.. code-block:: bash -.. include:: command/images.rst + sudo docker build . -.. include:: command/import.rst +This will read the ``Dockerfile`` from the current directory. It will +also send any other files and directories found in the current +directory to the ``docker`` daemon. -.. include:: command/info.rst +The contents of this directory would be used by ``ADD`` commands found +within the ``Dockerfile``. This will send a lot of data to the +``docker`` daemon if the current directory contains a lot of data. If +the absolute path is provided instead of ``.`` then only the files and +directories required by the ADD commands from the ``Dockerfile`` will be +added to the context and transferred to the ``docker`` daemon. -.. include:: command/insert.rst +.. code-block:: bash -.. include:: command/inspect.rst + sudo docker build -t vieux/apache:2.0 . + +This will build like the previous example, but it will then tag the +resulting image. The repository name will be ``vieux/apache`` and the +tag will be ``2.0`` + + +.. code-block:: bash + + sudo docker build - < Dockerfile + +This will read a ``Dockerfile`` from *stdin* without context. Due to +the lack of a context, no contents of any local directory will be sent +to the ``docker`` daemon. ``ADD`` doesn't work when running in this +mode because the absence of the context provides no source files to +copy to the container. + + +.. code-block:: bash + + sudo docker build github.com/creack/docker-firefox + +This will clone the Github repository and use it as context. The +``Dockerfile`` at the root of the repository is used as +``Dockerfile``. Note that you can specify an arbitrary git repository +by using the ``git://`` schema. + + +.. _cli_commit: + +``commit`` +---------- + +:: + + Usage: docker commit [OPTIONS] CONTAINER [REPOSITORY [TAG]] + + Create a new image from a container's changes + + -m="": Commit message + -author="": Author (eg. "John Hannibal Smith " + -run="": Configuration to be applied when the image is launched with `docker run`. + (ex: '{"Cmd": ["cat", "/world"], "PortSpecs": ["22"]}') + +Full -run example (multiline is ok within a single quote ``'``) + +:: + + $ sudo docker commit -run=' + { + "Entrypoint" : null, + "Privileged" : false, + "User" : "", + "VolumesFrom" : "", + "Cmd" : ["cat", "-e", "/etc/resolv.conf"], + "Dns" : ["8.8.8.8", "8.8.4.4"], + "MemorySwap" : 0, + "AttachStdin" : false, + "AttachStderr" : false, + "CpuShares" : 0, + "OpenStdin" : false, + "Volumes" : null, + "Hostname" : "122612f45831", + "PortSpecs" : ["22", "80", "443"], + "Image" : "b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc", + "Tty" : false, + "Env" : [ + "HOME=/", + "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + ], + "StdinOnce" : false, + "Domainname" : "", + "WorkingDir" : "/", + "NetworkDisabled" : false, + "Memory" : 0, + "AttachStdout" : false + }' $CONTAINER_ID + +.. _cli_cp: + +``cp`` +------ + +:: + + Usage: docker cp CONTAINER:RESOURCE HOSTPATH + + Copy files/folders from the containers filesystem to the host + path. Paths are relative to the root of the filesystem. + +.. _cli_diff: + +``diff`` +-------- + +:: + + Usage: docker diff CONTAINER [OPTIONS] + + Inspect changes on a container's filesystem + +.. _cli_events: + +``events`` +---------- + +:: + + Usage: docker events + + Get real time events from the server + +.. _cli_events_example: + +Examples +~~~~~~~~ + +You'll need two shells for this example. + +Shell 1: Listening for events +............................. + +.. code-block:: bash + + $ sudo docker events + +Shell 2: Start and Stop a Container +................................... + +.. code-block:: bash + + $ sudo docker start 4386fb97867d + $ sudo docker stop 4386fb97867d + +Shell 1: (Again .. now showing events) +...................................... + +.. code-block:: bash + + [2013-09-03 15:49:26 +0200 CEST] 4386fb97867d: (from 12de384bfb10) start + [2013-09-03 15:49:29 +0200 CEST] 4386fb97867d: (from 12de384bfb10) die + [2013-09-03 15:49:29 +0200 CEST] 4386fb97867d: (from 12de384bfb10) stop + + +.. _cli_export: + +``export`` +---------- + +:: + + Usage: docker export CONTAINER + + Export the contents of a filesystem as a tar archive + +.. _cli_history: + +``history`` +----------- + +:: + + Usage: docker history [OPTIONS] IMAGE + + Show the history of an image + +.. _cli_images: + +``images`` +---------- + +:: + + Usage: docker images [OPTIONS] [NAME] + + List images + + -a=false: show all images + -q=false: only show numeric IDs + -viz=false: output in graphviz format + +Displaying images visually +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +:: + + sudo docker images -viz | dot -Tpng -o docker.png + +.. image:: docker_images.gif + :alt: Example inheritance graph of Docker images. + +.. _cli_import: + +``import`` +---------- + +:: + + Usage: docker import URL|- [REPOSITORY [TAG]] + + Create a new filesystem image from the contents of a tarball + +At this time, the URL must start with ``http`` and point to a single +file archive (.tar, .tar.gz, .tgz, .bzip, .tar.xz, .txz) containing a +root filesystem. If you would like to import from a local directory or +archive, you can use the ``-`` parameter to take the data from +standard in. + +Examples +~~~~~~~~ + +Import from a remote location +............................. + +``$ sudo docker import http://example.com/exampleimage.tgz exampleimagerepo`` + +Import from a local file +........................ + +Import to docker via pipe and standard in + +``$ cat exampleimage.tgz | sudo docker import - exampleimagelocal`` + +Import from a local directory +............................. + +``$ sudo tar -c . | docker import - exampleimagedir`` + +Note the ``sudo`` in this example -- you must preserve the ownership +of the files (especially root ownership) during the archiving with +tar. If you are not root (or sudo) when you tar, then the ownerships +might not get preserved. + +.. _cli_info: + +``info`` +-------- + +:: + + Usage: docker info + + Display system-wide information. + +.. _cli_insert: + +``insert`` +---------- + +:: + + Usage: docker insert IMAGE URL PATH + + Insert a file from URL in the IMAGE at PATH + +Examples +~~~~~~~~ + +Insert file from github +....................... + +.. code-block:: bash + + $ sudo docker insert 8283e18b24bc https://raw.github.com/metalivedev/django/master/postinstall /tmp/postinstall.sh + +.. _cli_inspect: + +``inspect`` +----------- + +:: + + Usage: docker inspect [OPTIONS] CONTAINER + + Return low-level information on a container + +.. _cli_kill: + +``kill`` +-------- + +:: + + Usage: docker kill [OPTIONS] CONTAINER [CONTAINER...] + + Kill a running container + +.. _cli_login: + +``login`` +--------- + +:: + + Usage: docker login [OPTIONS] [SERVER] + + Register or Login to the docker registry server + + -e="": email + -p="": password + -u="": username + + If you want to login to a private registry you can + specify this by adding the server name. + + example: + docker login localhost:8080 + + +.. _cli_logs: + +``logs`` +-------- + + +:: + + Usage: docker logs [OPTIONS] CONTAINER + + Fetch the logs of a container + + +.. _cli_port: + +``port`` +-------- + +:: + + Usage: docker port [OPTIONS] CONTAINER PRIVATE_PORT + + Lookup the public-facing port which is NAT-ed to PRIVATE_PORT + + +.. _cli_ps: + +``ps`` +------ + +:: + + Usage: docker ps [OPTIONS] + + List containers + + -a=false: Show all containers. Only running containers are shown by default. + -notrunc=false: Don't truncate output + -q=false: Only display numeric IDs + +.. _cli_pull: + +``pull`` +-------- + +:: + + Usage: docker pull NAME + + Pull an image or a repository from the registry + + +.. _cli_push: + +``push`` +-------- + +:: + + Usage: docker push NAME + + Push an image or a repository to the registry + + +.. _cli_restart: + +``restart`` +----------- + +:: + + Usage: docker restart [OPTIONS] NAME + + Restart a running container + +.. _cli_rm: + +``rm`` +------ + +:: + + Usage: docker rm [OPTIONS] CONTAINER + + Remove one or more containers + +.. _cli_rmi: + +``rmi`` +------- + +:: + + Usage: docker rmi IMAGE [IMAGE...] + + Remove one or more images + +.. _cli_run: + +``run`` +------- + +:: + + Usage: docker run [OPTIONS] IMAGE[:TAG] [COMMAND] [ARG...] + + Run a command in a new container + + -a=map[]: Attach to stdin, stdout or stderr. + -c=0: CPU shares (relative weight) + -cidfile="": Write the container ID to the file + -d=false: Detached mode: Run container in the background, print new container id + -e=[]: Set environment variables + -h="": Container host name + -i=false: Keep stdin open even if not attached + -privileged=false: Give extended privileges to this container + -m=0: Memory limit (in bytes) + -n=true: Enable networking for this container + -p=[]: Map a network port to the container + -rm=false: Automatically remove the container when it exits (incompatible with -d) + -t=false: Allocate a pseudo-tty + -u="": Username or UID + -dns=[]: Set custom dns servers for the container + -v=[]: Create a bind mount with: [host-dir]:[container-dir]:[rw|ro]. If "container-dir" is missing, then docker creates a new volume. + -volumes-from="": Mount all volumes from the given container. + -entrypoint="": Overwrite the default entrypoint set by the image. + -w="": Working directory inside the container + -lxc-conf=[]: Add custom lxc options -lxc-conf="lxc.cgroup.cpuset.cpus = 0,1" + +Examples +~~~~~~~~ + +.. code-block:: bash + + sudo docker run -cidfile /tmp/docker_test.cid ubuntu echo "test" + +This will create a container and print "test" to the console. The +``cidfile`` flag makes docker attempt to create a new file and write the +container ID to it. If the file exists already, docker will return an +error. Docker will close this file when docker run exits. + +.. code-block:: bash + + docker run mount -t tmpfs none /var/spool/squid + +This will *not* work, because by default, most potentially dangerous +kernel capabilities are dropped; including ``cap_sys_admin`` (which is +required to mount filesystems). However, the ``-privileged`` flag will +allow it to run: + +.. code-block:: bash + + docker run -privileged mount -t tmpfs none /var/spool/squid + +The ``-privileged`` flag gives *all* capabilities to the container, +and it also lifts all the limitations enforced by the ``device`` +cgroup controller. In other words, the container can then do almost +everything that the host can do. This flag exists to allow special +use-cases, like running Docker within Docker. + +.. code-block:: bash + + docker run -w /path/to/dir/ -i -t ubuntu pwd + +The ``-w`` lets the command being executed inside directory given, +here /path/to/dir/. If the path does not exists it is created inside the +container. + +.. code-block:: bash + + docker run -v `pwd`:`pwd` -w `pwd` -i -t ubuntu pwd + +The ``-v`` flag mounts the current working directory into the container. +The ``-w`` lets the command being executed inside the current +working directory, by changing into the directory to the value +returned by ``pwd``. So this combination executes the command +using the container, but inside the current working directory. + +.. _cli_search: + +``search`` +---------- + +:: + + Usage: docker search TERM + + Searches for the TERM parameter on the Docker index and prints out + a list of repositories that match. + +.. _cli_start: + +``start`` +--------- + +:: + + Usage: docker start [OPTIONS] NAME + + Start a stopped container + +.. _cli_stop: + +``stop`` +-------- + +:: + + Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...] + + Stop a running container + + -t=10: Number of seconds to wait for the container to stop before killing it. + +.. _cli_tag: + +``tag`` +------- + +:: + + Usage: docker tag [OPTIONS] IMAGE REPOSITORY [TAG] + + Tag an image into a repository + + -f=false: Force + +.. _cli_top: + +``top`` +------- + +:: + + Usage: docker top CONTAINER + + Lookup the running processes of a container + +.. _cli_version: + +``version`` +----------- + +Show the version of the docker client, daemon, and latest released version. + + +.. _cli_wait: + +``wait`` +-------- + +:: + + Usage: docker wait [OPTIONS] NAME + + Block until a container stops, then print its exit code. -.. include:: command/kill.rst - -.. include:: command/login.rst - -.. include:: command/logs.rst - -.. include:: command/port.rst - -.. include:: command/ps.rst - -.. include:: command/pull.rst - -.. include:: command/push.rst - -.. include:: command/restart.rst - -.. include:: command/rm.rst - -.. include:: command/rmi.rst - -.. include:: command/run.rst - -.. include:: command/search.rst - -.. include:: command/start.rst - -.. include:: command/stop.rst - -.. include:: command/tag.rst - -.. include:: command/top.rst - -.. include:: command/version.rst - -.. include:: command/wait.rst diff --git a/docs/sources/commandline/command/attach.rst b/docs/sources/commandline/command/attach.rst deleted file mode 100644 index 12ed802a02..0000000000 --- a/docs/sources/commandline/command/attach.rst +++ /dev/null @@ -1,59 +0,0 @@ -:title: Attach Command -:description: Attach to a running container -:keywords: attach, container, docker, documentation - -=========================================== -``attach`` -- Attach to a running container -=========================================== - -:: - - Usage: docker attach CONTAINER - - Attach to a running container. - -You can detach from the container again (and leave it running) with -``CTRL-c`` (for a quiet exit) or ``CTRL-\`` to get a stacktrace of -the Docker client when it quits. - -To stop a container, use ``docker stop`` - -To kill the container, use ``docker kill`` - -Examples: ---------- - -.. code-block:: bash - - $ ID=$(sudo docker run -d ubuntu /usr/bin/top -b) - $ sudo docker attach $ID - top - 02:05:52 up 3:05, 0 users, load average: 0.01, 0.02, 0.05 - Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie - Cpu(s): 0.1%us, 0.2%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st - Mem: 373572k total, 355560k used, 18012k free, 27872k buffers - Swap: 786428k total, 0k used, 786428k free, 221740k cached - - PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND - 1 root 20 0 17200 1116 912 R 0 0.3 0:00.03 top - - top - 02:05:55 up 3:05, 0 users, load average: 0.01, 0.02, 0.05 - Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie - Cpu(s): 0.0%us, 0.2%sy, 0.0%ni, 99.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st - Mem: 373572k total, 355244k used, 18328k free, 27872k buffers - Swap: 786428k total, 0k used, 786428k free, 221776k cached - - PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND - 1 root 20 0 17208 1144 932 R 0 0.3 0:00.03 top - - - top - 02:05:58 up 3:06, 0 users, load average: 0.01, 0.02, 0.05 - Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie - Cpu(s): 0.2%us, 0.3%sy, 0.0%ni, 99.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st - Mem: 373572k total, 355780k used, 17792k free, 27880k buffers - Swap: 786428k total, 0k used, 786428k free, 221776k cached - - PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND - 1 root 20 0 17208 1144 932 R 0 0.3 0:00.03 top - ^C$ - $ sudo docker stop $ID - diff --git a/docs/sources/commandline/command/build.rst b/docs/sources/commandline/command/build.rst deleted file mode 100644 index 5ce70d85d9..0000000000 --- a/docs/sources/commandline/command/build.rst +++ /dev/null @@ -1,65 +0,0 @@ -:title: Build Command -:description: Build a new image from the Dockerfile passed via stdin -:keywords: build, docker, container, documentation - -================================================ -``build`` -- Build a container from a Dockerfile -================================================ - -:: - - Usage: docker build [OPTIONS] PATH | URL | - - Build a new container image from the source code at PATH - -t="": Repository name (and optionally a tag) to be applied to the resulting image in case of success. - -q=false: Suppress verbose build output. - -no-cache: Do not use the cache when building the image. - -rm: Remove intermediate containers after a successful build - When a single Dockerfile is given as URL, then no context is set. When a git repository is set as URL, the repository is used as context - - -Examples --------- - -.. code-block:: bash - - sudo docker build . - -This will read the ``Dockerfile`` from the current directory. It will -also send any other files and directories found in the current -directory to the ``docker`` daemon. - -The contents of this directory would be used by ``ADD`` commands found -within the ``Dockerfile``. This will send a lot of data to the -``docker`` daemon if the current directory contains a lot of data. If -the absolute path is provided instead of ``.`` then only the files and -directories required by the ADD commands from the ``Dockerfile`` will be -added to the context and transferred to the ``docker`` daemon. - -.. code-block:: bash - - sudo docker build -t vieux/apache:2.0 . - -This will build like the previous example, but it will then tag the -resulting image. The repository name will be ``vieux/apache`` and the -tag will be ``2.0`` - - -.. code-block:: bash - - sudo docker build - < Dockerfile - -This will read a ``Dockerfile`` from *stdin* without context. Due to -the lack of a context, no contents of any local directory will be sent -to the ``docker`` daemon. ``ADD`` doesn't work when running in this -mode because the absence of the context provides no source files to -copy to the container. - - -.. code-block:: bash - - sudo docker build github.com/creack/docker-firefox - -This will clone the Github repository and use it as context. The -``Dockerfile`` at the root of the repository is used as -``Dockerfile``. Note that you can specify an arbitrary git repository -by using the ``git://`` schema. diff --git a/docs/sources/commandline/command/commit.rst b/docs/sources/commandline/command/commit.rst deleted file mode 100644 index ef0d863688..0000000000 --- a/docs/sources/commandline/command/commit.rst +++ /dev/null @@ -1,52 +0,0 @@ -:title: Commit Command -:description: Create a new image from a container's changes -:keywords: commit, docker, container, documentation - -=========================================================== -``commit`` -- Create a new image from a container's changes -=========================================================== - -:: - - Usage: docker commit [OPTIONS] CONTAINER [REPOSITORY [TAG]] - - Create a new image from a container's changes - - -m="": Commit message - -author="": Author (eg. "John Hannibal Smith " - -run="": Configuration to be applied when the image is launched with `docker run`. - (ex: '{"Cmd": ["cat", "/world"], "PortSpecs": ["22"]}') - -Full -run example (multiline is ok within a single quote ``'``) - -:: - - $ sudo docker commit -run=' - { - "Entrypoint" : null, - "Privileged" : false, - "User" : "", - "VolumesFrom" : "", - "Cmd" : ["cat", "-e", "/etc/resolv.conf"], - "Dns" : ["8.8.8.8", "8.8.4.4"], - "MemorySwap" : 0, - "AttachStdin" : false, - "AttachStderr" : false, - "CpuShares" : 0, - "OpenStdin" : false, - "Volumes" : null, - "Hostname" : "122612f45831", - "PortSpecs" : ["22", "80", "443"], - "Image" : "b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc", - "Tty" : false, - "Env" : [ - "HOME=/", - "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" - ], - "StdinOnce" : false, - "Domainname" : "", - "WorkingDir" : "/", - "NetworkDisabled" : false, - "Memory" : 0, - "AttachStdout" : false - }' $CONTAINER_ID diff --git a/docs/sources/commandline/command/cp.rst b/docs/sources/commandline/command/cp.rst deleted file mode 100644 index ea84fa1f90..0000000000 --- a/docs/sources/commandline/command/cp.rst +++ /dev/null @@ -1,14 +0,0 @@ -:title: Cp Command -:description: Copy files/folders from the containers filesystem to the host path -:keywords: cp, docker, container, documentation, copy - -============================================================================ -``cp`` -- Copy files/folders from the containers filesystem to the host path -============================================================================ - -:: - - Usage: docker cp CONTAINER:RESOURCE HOSTPATH - - Copy files/folders from the containers filesystem to the host - path. Paths are relative to the root of the filesystem. diff --git a/docs/sources/commandline/command/diff.rst b/docs/sources/commandline/command/diff.rst deleted file mode 100644 index 2901a7f215..0000000000 --- a/docs/sources/commandline/command/diff.rst +++ /dev/null @@ -1,13 +0,0 @@ -:title: Diff Command -:description: Inspect changes on a container's filesystem -:keywords: diff, docker, container, documentation - -======================================================= -``diff`` -- Inspect changes on a container's filesystem -======================================================= - -:: - - Usage: docker diff CONTAINER [OPTIONS] - - Inspect changes on a container's filesystem diff --git a/docs/sources/commandline/command/events.rst b/docs/sources/commandline/command/events.rst deleted file mode 100644 index b8dd591fb1..0000000000 --- a/docs/sources/commandline/command/events.rst +++ /dev/null @@ -1,34 +0,0 @@ -:title: Events Command -:description: Get real time events from the server -:keywords: events, docker, documentation - -================================================================= -``events`` -- Get real time events from the server -================================================================= - -:: - - Usage: docker events - - Get real time events from the server - -Examples --------- - -Starting and stopping a container -................................. - -.. code-block:: bash - - $ sudo docker start 4386fb97867d - $ sudo docker stop 4386fb97867d - -In another shell - -.. code-block:: bash - - $ sudo docker events - [2013-09-03 15:49:26 +0200 CEST] 4386fb97867d: (from 12de384bfb10) start - [2013-09-03 15:49:29 +0200 CEST] 4386fb97867d: (from 12de384bfb10) die - [2013-09-03 15:49:29 +0200 CEST] 4386fb97867d: (from 12de384bfb10) stop - diff --git a/docs/sources/commandline/command/export.rst b/docs/sources/commandline/command/export.rst deleted file mode 100644 index 9d7e6b369c..0000000000 --- a/docs/sources/commandline/command/export.rst +++ /dev/null @@ -1,13 +0,0 @@ -:title: Export Command -:description: Export the contents of a filesystem as a tar archive -:keywords: export, docker, container, documentation - -================================================================= -``export`` -- Stream the contents of a container as a tar archive -================================================================= - -:: - - Usage: docker export CONTAINER - - Export the contents of a filesystem as a tar archive diff --git a/docs/sources/commandline/command/history.rst b/docs/sources/commandline/command/history.rst deleted file mode 100644 index 2f9d3f2814..0000000000 --- a/docs/sources/commandline/command/history.rst +++ /dev/null @@ -1,13 +0,0 @@ -:title: History Command -:description: Show the history of an image -:keywords: history, docker, container, documentation - -=========================================== -``history`` -- Show the history of an image -=========================================== - -:: - - Usage: docker history [OPTIONS] IMAGE - - Show the history of an image diff --git a/docs/sources/commandline/command/images.rst b/docs/sources/commandline/command/images.rst deleted file mode 100644 index 279bf240c9..0000000000 --- a/docs/sources/commandline/command/images.rst +++ /dev/null @@ -1,26 +0,0 @@ -:title: Images Command -:description: List images -:keywords: images, docker, container, documentation - -========================= -``images`` -- List images -========================= - -:: - - Usage: docker images [OPTIONS] [NAME] - - List images - - -a=false: show all images - -q=false: only show numeric IDs - -viz=false: output in graphviz format - -Displaying images visually --------------------------- - -:: - - sudo docker images -viz | dot -Tpng -o docker.png - -.. image:: https://docs.docker.io/en/latest/_static/docker_images.gif diff --git a/docs/sources/commandline/command/import.rst b/docs/sources/commandline/command/import.rst deleted file mode 100644 index e236c5bc2b..0000000000 --- a/docs/sources/commandline/command/import.rst +++ /dev/null @@ -1,44 +0,0 @@ -:title: Import Command -:description: Create a new filesystem image from the contents of a tarball -:keywords: import, tarball, docker, url, documentation - -========================================================================== -``import`` -- Create a new filesystem image from the contents of a tarball -========================================================================== - -:: - - Usage: docker import URL|- [REPOSITORY [TAG]] - - Create a new filesystem image from the contents of a tarball - -At this time, the URL must start with ``http`` and point to a single -file archive (.tar, .tar.gz, .tgz, .bzip, .tar.xz, .txz) containing a -root filesystem. If you would like to import from a local directory or -archive, you can use the ``-`` parameter to take the data from -standard in. - -Examples --------- - -Import from a remote location -............................. - -``$ sudo docker import http://example.com/exampleimage.tgz exampleimagerepo`` - -Import from a local file -........................ - -Import to docker via pipe and standard in - -``$ cat exampleimage.tgz | sudo docker import - exampleimagelocal`` - -Import from a local directory -............................. - -``$ sudo tar -c . | docker import - exampleimagedir`` - -Note the ``sudo`` in this example -- you must preserve the ownership -of the files (especially root ownership) during the archiving with -tar. If you are not root (or sudo) when you tar, then the ownerships -might not get preserved. diff --git a/docs/sources/commandline/command/info.rst b/docs/sources/commandline/command/info.rst deleted file mode 100644 index 6df3486c53..0000000000 --- a/docs/sources/commandline/command/info.rst +++ /dev/null @@ -1,13 +0,0 @@ -:title: Info Command -:description: Display system-wide information. -:keywords: info, docker, information, documentation - -=========================================== -``info`` -- Display system-wide information -=========================================== - -:: - - Usage: docker info - - Display system-wide information. diff --git a/docs/sources/commandline/command/insert.rst b/docs/sources/commandline/command/insert.rst deleted file mode 100644 index 0f2612c9af..0000000000 --- a/docs/sources/commandline/command/insert.rst +++ /dev/null @@ -1,23 +0,0 @@ -:title: Insert Command -:description: Insert a file in an image -:keywords: insert, image, docker, documentation - -========================================================================== -``insert`` -- Insert a file in an image -========================================================================== - -:: - - Usage: docker insert IMAGE URL PATH - - Insert a file from URL in the IMAGE at PATH - -Examples --------- - -Insert file from github -....................... - -.. code-block:: bash - - $ sudo docker insert 8283e18b24bc https://raw.github.com/metalivedev/django/master/postinstall /tmp/postinstall.sh diff --git a/docs/sources/commandline/command/inspect.rst b/docs/sources/commandline/command/inspect.rst deleted file mode 100644 index 90dbe959eb..0000000000 --- a/docs/sources/commandline/command/inspect.rst +++ /dev/null @@ -1,13 +0,0 @@ -:title: Inspect Command -:description: Return low-level information on a container -:keywords: inspect, container, docker, documentation - -========================================================== -``inspect`` -- Return low-level information on a container -========================================================== - -:: - - Usage: docker inspect [OPTIONS] CONTAINER - - Return low-level information on a container diff --git a/docs/sources/commandline/command/kill.rst b/docs/sources/commandline/command/kill.rst deleted file mode 100644 index f53d3883b0..0000000000 --- a/docs/sources/commandline/command/kill.rst +++ /dev/null @@ -1,13 +0,0 @@ -:title: Kill Command -:description: Kill a running container -:keywords: kill, container, docker, documentation - -==================================== -``kill`` -- Kill a running container -==================================== - -:: - - Usage: docker kill [OPTIONS] CONTAINER [CONTAINER...] - - Kill a running container diff --git a/docs/sources/commandline/command/login.rst b/docs/sources/commandline/command/login.rst deleted file mode 100644 index 46f354d6be..0000000000 --- a/docs/sources/commandline/command/login.rst +++ /dev/null @@ -1,24 +0,0 @@ -:title: Login Command -:description: Register or Login to the docker registry server -:keywords: login, docker, documentation - -============================================================ -``login`` -- Register or Login to the docker registry server -============================================================ - -:: - - Usage: docker login [OPTIONS] [SERVER] - - Register or Login to the docker registry server - - -e="": email - -p="": password - -u="": username - - If you want to login to a private registry you can - specify this by adding the server name. - - example: - docker login localhost:8080 - diff --git a/docs/sources/commandline/command/logs.rst b/docs/sources/commandline/command/logs.rst deleted file mode 100644 index a3423f6e0c..0000000000 --- a/docs/sources/commandline/command/logs.rst +++ /dev/null @@ -1,13 +0,0 @@ -:title: Logs Command -:description: Fetch the logs of a container -:keywords: logs, container, docker, documentation - -========================================= -``logs`` -- Fetch the logs of a container -========================================= - -:: - - Usage: docker logs [OPTIONS] CONTAINER - - Fetch the logs of a container diff --git a/docs/sources/commandline/command/port.rst b/docs/sources/commandline/command/port.rst deleted file mode 100644 index 8d59fedab6..0000000000 --- a/docs/sources/commandline/command/port.rst +++ /dev/null @@ -1,13 +0,0 @@ -:title: Port Command -:description: Lookup the public-facing port which is NAT-ed to PRIVATE_PORT -:keywords: port, docker, container, documentation - -========================================================================= -``port`` -- Lookup the public-facing port which is NAT-ed to PRIVATE_PORT -========================================================================= - -:: - - Usage: docker port [OPTIONS] CONTAINER PRIVATE_PORT - - Lookup the public-facing port which is NAT-ed to PRIVATE_PORT diff --git a/docs/sources/commandline/command/ps.rst b/docs/sources/commandline/command/ps.rst deleted file mode 100644 index 597dbd9ae7..0000000000 --- a/docs/sources/commandline/command/ps.rst +++ /dev/null @@ -1,17 +0,0 @@ -:title: Ps Command -:description: List containers -:keywords: ps, docker, documentation, container - -========================= -``ps`` -- List containers -========================= - -:: - - Usage: docker ps [OPTIONS] - - List containers - - -a=false: Show all containers. Only running containers are shown by default. - -notrunc=false: Don't truncate output - -q=false: Only display numeric IDs diff --git a/docs/sources/commandline/command/pull.rst b/docs/sources/commandline/command/pull.rst deleted file mode 100644 index 4348f28d0f..0000000000 --- a/docs/sources/commandline/command/pull.rst +++ /dev/null @@ -1,13 +0,0 @@ -:title: Pull Command -:description: Pull an image or a repository from the registry -:keywords: pull, image, repo, repository, documentation, docker - -========================================================================= -``pull`` -- Pull an image or a repository from the docker registry server -========================================================================= - -:: - - Usage: docker pull NAME - - Pull an image or a repository from the registry diff --git a/docs/sources/commandline/command/push.rst b/docs/sources/commandline/command/push.rst deleted file mode 100644 index 9304f9acc5..0000000000 --- a/docs/sources/commandline/command/push.rst +++ /dev/null @@ -1,13 +0,0 @@ -:title: Push Command -:description: Push an image or a repository to the registry -:keywords: push, docker, image, repository, documentation, repo - -======================================================================= -``push`` -- Push an image or a repository to the docker registry server -======================================================================= - -:: - - Usage: docker push NAME - - Push an image or a repository to the registry diff --git a/docs/sources/commandline/command/restart.rst b/docs/sources/commandline/command/restart.rst deleted file mode 100644 index dfc0dfea6e..0000000000 --- a/docs/sources/commandline/command/restart.rst +++ /dev/null @@ -1,13 +0,0 @@ -:title: Restart Command -:description: Restart a running container -:keywords: restart, container, docker, documentation - -========================================== -``restart`` -- Restart a running container -========================================== - -:: - - Usage: docker restart [OPTIONS] NAME - - Restart a running container diff --git a/docs/sources/commandline/command/rm.rst b/docs/sources/commandline/command/rm.rst deleted file mode 100644 index 8a2309ce79..0000000000 --- a/docs/sources/commandline/command/rm.rst +++ /dev/null @@ -1,13 +0,0 @@ -:title: Rm Command -:description: Remove a container -:keywords: remove, container, docker, documentation, rm - -============================ -``rm`` -- Remove a container -============================ - -:: - - Usage: docker rm [OPTIONS] CONTAINER - - Remove one or more containers diff --git a/docs/sources/commandline/command/rmi.rst b/docs/sources/commandline/command/rmi.rst deleted file mode 100644 index 954e5222c6..0000000000 --- a/docs/sources/commandline/command/rmi.rst +++ /dev/null @@ -1,13 +0,0 @@ -:title: Rmi Command -:description: Remove an image -:keywords: rmi, remove, image, docker, documentation - -========================== -``rmi`` -- Remove an image -========================== - -:: - - Usage: docker rmi IMAGE [IMAGE...] - - Remove one or more images diff --git a/docs/sources/commandline/command/run.rst b/docs/sources/commandline/command/run.rst deleted file mode 100644 index b68e08303f..0000000000 --- a/docs/sources/commandline/command/run.rst +++ /dev/null @@ -1,85 +0,0 @@ -:title: Run Command -:description: Run a command in a new container -:keywords: run, container, docker, documentation - -=========================================== -``run`` -- Run a command in a new container -=========================================== - -:: - - Usage: docker run [OPTIONS] IMAGE[:TAG] [COMMAND] [ARG...] - - Run a command in a new container - - -a=map[]: Attach to stdin, stdout or stderr. - -c=0: CPU shares (relative weight) - -cidfile="": Write the container ID to the file - -d=false: Detached mode: Run container in the background, print new container id - -e=[]: Set environment variables - -h="": Container host name - -i=false: Keep stdin open even if not attached - -privileged=false: Give extended privileges to this container - -m=0: Memory limit (in bytes) - -n=true: Enable networking for this container - -p=[]: Map a network port to the container - -rm=false: Automatically remove the container when it exits (incompatible with -d) - -t=false: Allocate a pseudo-tty - -u="": Username or UID - -dns=[]: Set custom dns servers for the container - -v=[]: Create a bind mount with: [host-dir]:[container-dir]:[rw|ro]. If "container-dir" is missing, then docker creates a new volume. - -volumes-from="": Mount all volumes from the given container. - -entrypoint="": Overwrite the default entrypoint set by the image. - -w="": Working directory inside the container - -lxc-conf=[]: Add custom lxc options -lxc-conf="lxc.cgroup.cpuset.cpus = 0,1" - -Examples --------- - -.. code-block:: bash - - sudo docker run -cidfile /tmp/docker_test.cid ubuntu echo "test" - -This will create a container and print "test" to the console. The -``cidfile`` flag makes docker attempt to create a new file and write the -container ID to it. If the file exists already, docker will return an -error. Docker will close this file when docker run exits. - -.. code-block:: bash - - docker run mount -t tmpfs none /var/spool/squid - -This will *not* work, because by default, most potentially dangerous -kernel capabilities are dropped; including ``cap_sys_admin`` (which is -required to mount filesystems). However, the ``-privileged`` flag will -allow it to run: - -.. code-block:: bash - - docker run -privileged mount -t tmpfs none /var/spool/squid - -The ``-privileged`` flag gives *all* capabilities to the container, -and it also lifts all the limitations enforced by the ``device`` -cgroup controller. In other words, the container can then do almost -everything that the host can do. This flag exists to allow special -use-cases, like running Docker within Docker. - -.. code-block:: bash - - docker run -w /path/to/dir/ -i -t ubuntu pwd - -The ``-w`` lets the command being executed inside directory given, -here /path/to/dir/. If the path does not exists it is created inside the -container. - -.. code-block:: bash - - docker run -v `pwd`:`pwd` -w `pwd` -i -t ubuntu pwd - -The ``-v`` flag mounts the current working directory into the container. -The ``-w`` lets the command being executed inside the current -working directory, by changing into the directory to the value -returned by ``pwd``. So this combination executes the command -using the container, but inside the current working directory. - - diff --git a/docs/sources/commandline/command/search.rst b/docs/sources/commandline/command/search.rst deleted file mode 100644 index 8107016a41..0000000000 --- a/docs/sources/commandline/command/search.rst +++ /dev/null @@ -1,14 +0,0 @@ -:title: Search Command -:description: Searches for the TERM parameter on the Docker index and prints out a list of repositories that match. -:keywords: search, docker, image, documentation - -=================================================================== -``search`` -- Search for an image in the docker index -=================================================================== - -:: - - Usage: docker search TERM - - Searches for the TERM parameter on the Docker index and prints out - a list of repositories that match. diff --git a/docs/sources/commandline/command/start.rst b/docs/sources/commandline/command/start.rst deleted file mode 100644 index b70ad21cfd..0000000000 --- a/docs/sources/commandline/command/start.rst +++ /dev/null @@ -1,13 +0,0 @@ -:title: Start Command -:description: Start a stopped container -:keywords: start, docker, container, documentation - -====================================== -``start`` -- Start a stopped container -====================================== - -:: - - Usage: docker start [OPTIONS] NAME - - Start a stopped container diff --git a/docs/sources/commandline/command/stop.rst b/docs/sources/commandline/command/stop.rst deleted file mode 100644 index 6a64908eae..0000000000 --- a/docs/sources/commandline/command/stop.rst +++ /dev/null @@ -1,15 +0,0 @@ -:title: Stop Command -:description: Stop a running container -:keywords: stop, container, docker, documentation - -==================================== -``stop`` -- Stop a running container -==================================== - -:: - - Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...] - - Stop a running container - - -t=10: Number of seconds to wait for the container to stop before killing it. diff --git a/docs/sources/commandline/command/tag.rst b/docs/sources/commandline/command/tag.rst deleted file mode 100644 index a9e831aae9..0000000000 --- a/docs/sources/commandline/command/tag.rst +++ /dev/null @@ -1,15 +0,0 @@ -:title: Tag Command -:description: Tag an image into a repository -:keywords: tag, docker, image, repository, documentation, repo - -========================================= -``tag`` -- Tag an image into a repository -========================================= - -:: - - Usage: docker tag [OPTIONS] IMAGE REPOSITORY [TAG] - - Tag an image into a repository - - -f=false: Force diff --git a/docs/sources/commandline/command/top.rst b/docs/sources/commandline/command/top.rst deleted file mode 100644 index bdd35adcfa..0000000000 --- a/docs/sources/commandline/command/top.rst +++ /dev/null @@ -1,13 +0,0 @@ -:title: Top Command -:description: Lookup the running processes of a container -:keywords: top, docker, container, documentation - -======================================================= -``top`` -- Lookup the running processes of a container -======================================================= - -:: - - Usage: docker top CONTAINER - - Lookup the running processes of a container diff --git a/docs/sources/commandline/command/version.rst b/docs/sources/commandline/command/version.rst deleted file mode 100644 index fb3d3b450e..0000000000 --- a/docs/sources/commandline/command/version.rst +++ /dev/null @@ -1,7 +0,0 @@ -:title: Version Command -:description: -:keywords: version, docker, documentation - -================================================== -``version`` -- Show the docker version information -================================================== diff --git a/docs/sources/commandline/command/wait.rst b/docs/sources/commandline/command/wait.rst deleted file mode 100644 index 23bd54513c..0000000000 --- a/docs/sources/commandline/command/wait.rst +++ /dev/null @@ -1,13 +0,0 @@ -:title: Wait Command -:description: Block until a container stops, then print its exit code. -:keywords: wait, docker, container, documentation - -=================================================================== -``wait`` -- Block until a container stops, then print its exit code -=================================================================== - -:: - - Usage: docker wait [OPTIONS] NAME - - Block until a container stops, then print its exit code. diff --git a/docs/sources/static_files/docker_images.gif b/docs/sources/commandline/docker_images.gif similarity index 100% rename from docs/sources/static_files/docker_images.gif rename to docs/sources/commandline/docker_images.gif diff --git a/docs/sources/commandline/index.rst b/docs/sources/commandline/index.rst index 0e7c8738b3..5536e1012e 100644 --- a/docs/sources/commandline/index.rst +++ b/docs/sources/commandline/index.rst @@ -1,6 +1,6 @@ :title: Commands -:description: -- todo: change me -:keywords: todo, commands, command line, help, docker, documentation +:description: docker command line interface +:keywords: commands, command line, help, docker Commands @@ -12,34 +12,3 @@ Contents: :maxdepth: 1 cli - attach - build - commit - cp - diff - events - export - history - images - import - info - insert - inspect - kill - login - logs - port - ps - pull - push - restart - rm - rmi - run - search - start - stop - tag - top - version - wait diff --git a/docs/sources/examples/hello_world.rst b/docs/sources/examples/hello_world.rst index 647a34aa1f..54ebdacc6a 100644 --- a/docs/sources/examples/hello_world.rst +++ b/docs/sources/examples/hello_world.rst @@ -178,4 +178,4 @@ you could skip to any of the other examples: * :ref:`running_ssh_service` * :ref:`running_couchdb_service` * :ref:`postgresql_service` -* :ref:`mongodb` +* :ref:`mongodb_image` diff --git a/docs/sources/index.rst b/docs/sources/index.rst index 99d2159aa7..88752ac3bf 100644 --- a/docs/sources/index.rst +++ b/docs/sources/index.rst @@ -2,8 +2,6 @@ :description: An overview of the Docker Documentation :keywords: containers, lxc, concepts, explanation -.. image:: https://www.docker.io/static/img/linked/dockerlogo-horizontal.png - Introduction ------------