summaryrefslogtreecommitdiff
path: root/docs/sources/installation
diff options
context:
space:
mode:
Diffstat (limited to 'docs/sources/installation')
-rw-r--r--docs/sources/installation/binaries.md2
-rw-r--r--docs/sources/installation/fedora.md38
-rw-r--r--docs/sources/installation/google.md7
-rw-r--r--docs/sources/installation/mac.md14
-rw-r--r--docs/sources/installation/openSUSE.md12
-rw-r--r--docs/sources/installation/rackspace.md2
-rw-r--r--docs/sources/installation/ubuntulinux.md10
-rw-r--r--docs/sources/installation/windows.md6
8 files changed, 66 insertions, 25 deletions
diff --git a/docs/sources/installation/binaries.md b/docs/sources/installation/binaries.md
index 97e2f93c4e..f6eb44fa64 100644
--- a/docs/sources/installation/binaries.md
+++ b/docs/sources/installation/binaries.md
@@ -36,7 +36,7 @@ In general, a 3.8 Linux kernel (or higher) is preferred, as some of the
prior versions have known issues that are triggered by Docker.
Note that Docker also has a client mode, which can run on virtually any
-Linux kernel (it even builds on OSX!).
+Linux kernel (it even builds on OS X!).
## Get the docker binary:
diff --git a/docs/sources/installation/fedora.md b/docs/sources/installation/fedora.md
index bcd54e6bd6..a230aa6cf5 100644
--- a/docs/sources/installation/fedora.md
+++ b/docs/sources/installation/fedora.md
@@ -48,6 +48,44 @@ Now let's verify that Docker is working.
$ sudo docker run -i -t fedora /bin/bash
+## Granting rights to users to use Docker
+
+Fedora 19 and 20 shipped with Docker 0.11. The package has already been updated
+to 1.0 in Fedora 20. If you are still using the 0.11 version you will need to
+grant rights to users of Docker.
+
+The `docker` command line tool contacts the `docker` daemon process via a
+socket file `/var/run/docker.sock` owned by group `docker`. One must be
+member of that group in order to contact the `docker -d` process.
+
+ $ usermod -a -G docker login_name
+
+Adding users to the `docker` group is *not* necessary for Docker versions 1.0
+and above.
+
+## HTTP Proxy
+
+If you are behind a HTTP proxy server, for example in corporate settings,
+you will need to add this configuration in the Docker *systemd service file*.
+
+Edit file `/lib/systemd/system/docker.service`. Add the following to
+section `[Service]` :
+
+ Environment="HTTP_PROXY=http://proxy.example.com:80/"
+
+If you have internal Docker registries that you need to contact without
+proxying you can specify them via the `NO_PROXY` environment variable:
+
+ Environment="HTTP_PROXY=http://proxy.example.com:80/" "NO_PROXY=localhost,127.0.0.0/8,docker-registry.somecorporation.com"
+
+Flush changes:
+
+ $ systemctl daemon-reload
+
+Restart Docker:
+
+ $ systemctl start docker
+
## What next?
Continue with the [User Guide](/userguide/).
diff --git a/docs/sources/installation/google.md b/docs/sources/installation/google.md
index c91d13612f..b6c1b3d275 100644
--- a/docs/sources/installation/google.md
+++ b/docs/sources/installation/google.md
@@ -12,16 +12,15 @@ page_keywords: Docker, Docker documentation, installation, google, Google Comput
2. Download and configure the [Google Cloud SDK][3] to use your
project with the following commands:
- $ curl https://dl.google.com/dl/cloudsdk/release/install_google_cloud_sdk.bash | bash
+ $ curl https://sdk.cloud.google.com | bash
$ gcloud auth login
- Enter a cloud project id (or leave blank to not set): <google-cloud-project-id>
- ...
+ $ gcloud config set project <google-cloud-project-id>
3. Start a new instance using the latest [Container-optimized image][4]:
(select a zone close to you and the desired instance size)
$ gcloud compute instances create docker-playground \
- --image projects/google-containers/global/images/container-vm-v20140522 \
+ --image https://www.googleapis.com/compute/v1/projects/google-containers/global/images/container-vm-v20140522 \
--zone us-central1-a \
--machine-type f1-micro
diff --git a/docs/sources/installation/mac.md b/docs/sources/installation/mac.md
index a982c59845..2aff0e5b89 100644
--- a/docs/sources/installation/mac.md
+++ b/docs/sources/installation/mac.md
@@ -21,7 +21,7 @@ virtual machine and runs the Docker daemon.
## Installation
-1. Download the latest release of the [Docker for OSX Installer](
+1. Download the latest release of the [Docker for OS X Installer](
https://github.com/boot2docker/osx-installer/releases)
2. Run the installer, which will install VirtualBox and the Boot2Docker management
@@ -31,22 +31,18 @@ virtual machine and runs the Docker daemon.
3. Run the `Boot2Docker` app in the `Applications` folder:
![](/installation/images/osx-Boot2Docker-Start-app.png)
- Or, to initiate Boot2Docker manually, open a terminal and run:
+ Or, to initialize Boot2Docker manually, open a terminal and run:
$ boot2docker init
$ boot2docker start
$ export DOCKER_HOST=tcp://$(boot2docker ip 2>/dev/null):2375
- The `boot2docker init` command will ask you to enter an SSH key passphrase - the simplest
- (but least secure) is to just hit [Enter]. This passphrase is used by the
- `boot2docker ssh` command.
-
Once you have an initialized virtual machine, you can control it with `boot2docker stop`
and `boot2docker start`.
## Upgrading
-1. Download the latest release of the [Docker for OSX Installer](
+1. Download the latest release of the [Docker for OS X Installer](
https://github.com/boot2docker/osx-installer/releases)
2. Run the installer, which will update VirtualBox and the Boot2Docker management
@@ -78,7 +74,7 @@ If you run a container with an exposed port,
then you should be able to access that Nginx server using the IP address reported by:
- $ boot2docker ssh ip addr show dev eth1
+ $ boot2docker ip
Typically, it is 192.168.59.103, but it could get changed by Virtualbox's DHCP
implementation.
@@ -91,7 +87,7 @@ The Boot2Docker management tool provides several commands:
$ ./boot2docker
Usage: ./boot2docker [<options>]
- {help|init|up|ssh|save|down|poweroff|reset|restart|config|status|info|delete|download|version}
+ {help|init|up|ssh|save|down|poweroff|reset|restart|config|status|info|ip|delete|download|version} [<args>]
Continue with the [User Guide](/userguide/).
diff --git a/docs/sources/installation/openSUSE.md b/docs/sources/installation/openSUSE.md
index ce79de2699..c03c74a811 100644
--- a/docs/sources/installation/openSUSE.md
+++ b/docs/sources/installation/openSUSE.md
@@ -19,9 +19,11 @@ repository.
# openSUSE 12.3
$ sudo zypper ar -f http://download.opensuse.org/repositories/Virtualization/openSUSE_12.3/ Virtualization
+ $ sudo rpm --import http://download.opensuse.org/repositories/Virtualization/openSUSE_12.3/repodata/repomd.xml.key
# openSUSE 13.1
$ sudo zypper ar -f http://download.opensuse.org/repositories/Virtualization/openSUSE_13.1/ Virtualization
+ $ sudo rpm --import http://download.opensuse.org/repositories/Virtualization/openSUSE_13.1/repodata/repomd.xml.key
Install the Docker package.
@@ -43,9 +45,15 @@ If we want Docker to start at boot, we should also:
The docker package creates a new group named docker. Users, other than
root user, need to be part of this group in order to interact with the
-Docker daemon.
+Docker daemon. You can add users with:
- $ sudo usermod -G docker <username>
+ $ sudo usermod -a -G docker <username>
+
+To verify that everything has worked as expected:
+
+ $ sudo docker run --rm -i -t ubuntu /bin/bash
+
+This should download and import the `ubuntu` image, and then start `bash` in a container. To exit the container type `exit`.
**Done!**
diff --git a/docs/sources/installation/rackspace.md b/docs/sources/installation/rackspace.md
index 1aa969d1e5..9fddf5e450 100644
--- a/docs/sources/installation/rackspace.md
+++ b/docs/sources/installation/rackspace.md
@@ -15,7 +15,7 @@ will need to install it. And this is a little more difficult on
Rackspace.
Rackspace boots their servers using grub's `menu.lst`
-and does not like non `virtual` packages (e.g. Xen compatible)
+and does not like non `virtual` packages (e.g., Xen compatible)
kernels there, although they do work. This results in
`update-grub` not having the expected result, and
you will need to set the kernel manually.
diff --git a/docs/sources/installation/ubuntulinux.md b/docs/sources/installation/ubuntulinux.md
index f1ba4971eb..5d1b6c3fbf 100644
--- a/docs/sources/installation/ubuntulinux.md
+++ b/docs/sources/installation/ubuntulinux.md
@@ -244,18 +244,18 @@ To install the latest version of docker, use the standard
If you want to enable memory and swap accounting, you must add the
following command-line parameters to your kernel:
- $ cgroup_enable=memory swapaccount=1
+ cgroup_enable=memory swapaccount=1
On systems using GRUB (which is the default for Ubuntu), you can add
those parameters by editing `/etc/default/grub` and
extending `GRUB_CMDLINE_LINUX`. Look for the
following line:
- $ GRUB_CMDLINE_LINUX=""
+ GRUB_CMDLINE_LINUX=""
And replace it by the following one:
- $ GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"
+ GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"
Then run `sudo update-grub`, and reboot.
@@ -283,7 +283,7 @@ forwarding:
# Change:
# DEFAULT_FORWARD_POLICY="DROP"
# to
- $ DEFAULT_FORWARD_POLICY="ACCEPT"
+ DEFAULT_FORWARD_POLICY="ACCEPT"
Then reload UFW:
@@ -316,7 +316,7 @@ Docker daemon for the containers:
$ sudo nano /etc/default/docker
---
# Add:
- $ DOCKER_OPTS="--dns 8.8.8.8"
+ DOCKER_OPTS="--dns 8.8.8.8"
# 8.8.8.8 could be replaced with a local DNS server, such as 192.168.1.1
# multiple DNS servers can be specified: --dns 8.8.8.8 --dns 192.168.1.1
diff --git a/docs/sources/installation/windows.md b/docs/sources/installation/windows.md
index 447d8b280f..9908c053d0 100644
--- a/docs/sources/installation/windows.md
+++ b/docs/sources/installation/windows.md
@@ -5,7 +5,7 @@ page_keywords: Docker, Docker documentation, Windows, requirements, virtualbox,
# Windows
> **Note:**
> Docker has been tested on Windows 7.1 and 8; it may also run on older versions.
-
+> Your processor needs to support hardware virtualization.
The Docker Engine uses Linux-specific kernel features, so to run it on Windows
we need to use a lightweight virtual machine (vm). You use the Windows Docker client to
@@ -25,7 +25,7 @@ virtual machine and runs the Docker daemon.
2. Run the installer, which will install VirtualBox, MSYS-git, the boot2docker Linux ISO,
and the Boot2Docker management tool.
![](/installation/images/windows-installer.png)
-3. Run the `Boot2Docker Start` shell script from your Desktop or Program Files > Docker.
+3. Run the `Boot2Docker Start` shell script from your Desktop or Program Files > Boot2Docker for Windows.
The Start script will ask you to enter an ssh key passphrase - the simplest
(but least secure) is to just hit [Enter].
@@ -63,7 +63,7 @@ This will download the small busybox image and print "hello world".
The Boot2Docker management tool provides several commands:
$ ./boot2docker
- Usage: ./boot2docker [<options>] {help|init|up|ssh|save|down|poweroff|reset|restart|config|status|info|delete|download|version} [<args>]
+ Usage: ./boot2docker [<options>] {help|init|up|ssh|save|down|poweroff|reset|restart|config|status|info|ip|delete|download|version} [<args>]
## Container port redirection