| ... | ... |
@@ -88,56 +88,9 @@ Installing from source |
| 88 | 88 |
```bash |
| 89 | 89 |
cd docker |
| 90 | 90 |
make VERBOSE=1 |
| 91 |
+ sudo cp ./bin/docker /usr/local/bin/docker |
|
| 91 | 92 |
``` |
| 92 | 93 |
|
| 93 |
-4. Execute the docker daemon |
|
| 94 |
- |
|
| 95 |
- ```bash |
|
| 96 |
- sudo ./bin/docker -d |
|
| 97 |
- ``` |
|
| 98 |
- |
|
| 99 |
-Installing on Ubuntu 12.04 and 12.10 |
|
| 100 |
- |
|
| 101 |
-1. Install dependencies: |
|
| 102 |
- |
|
| 103 |
- ```bash |
|
| 104 |
- sudo apt-get install lxc bsdtar |
|
| 105 |
- sudo apt-get install linux-image-extra-`uname -r` |
|
| 106 |
- ``` |
|
| 107 |
- |
|
| 108 |
- The `linux-image-extra` package is needed on standard Ubuntu EC2 AMIs in order to install the aufs kernel module. |
|
| 109 |
- |
|
| 110 |
-2. Install the latest docker binary: |
|
| 111 |
- |
|
| 112 |
- ```bash |
|
| 113 |
- wget http://get.docker.io/builds/$(uname -s)/$(uname -m)/docker-master.tgz |
|
| 114 |
- tar -xf docker-master.tgz |
|
| 115 |
- ``` |
|
| 116 |
- |
|
| 117 |
-3. Run your first container! |
|
| 118 |
- |
|
| 119 |
- ```bash |
|
| 120 |
- cd docker-master |
|
| 121 |
- sudo ./docker pull base |
|
| 122 |
- sudo ./docker run -i -t base /bin/bash |
|
| 123 |
- ``` |
|
| 124 |
- |
|
| 125 |
- Consider adding docker to your `PATH` for simplicity. |
|
| 126 |
- |
|
| 127 |
-Installing on other Linux distributions |
|
| 128 |
- |
|
| 129 |
-Right now, the officially supported distributions are: |
|
| 130 |
- |
|
| 131 |
-* Ubuntu 12.04 (precise LTS) |
|
| 132 |
-* Ubuntu 12.10 (quantal) |
|
| 133 |
- |
|
| 134 |
-Docker probably works on other distributions featuring a recent kernel, the AUFS patch, and up-to-date lxc. However this has not been tested. |
|
| 135 |
- |
|
| 136 |
-Some streamlined (but possibly outdated) installation paths' are available from the website: http://docker.io/documentation/ |
|
| 137 |
- |
|
| 138 |
- |
|
| 139 | 94 |
Usage examples |
| 140 | 95 |
============== |
| 141 | 96 |
|