Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d2cc9fe

Browse files
2 parents 55e31bb + 7480dc4 commit d2cc9fe

File tree

3 files changed

+23
-27
lines changed

3 files changed

+23
-27
lines changed

engine/installation/linux/rhel.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ which also installs via the `yum` package manager.
4444

4545
### Install with yum
4646

47-
1. Log into your machine as a user with `sudo` or `root` privileges.
47+
1. Log into your machine as a user with `sudo` or `root` privileges.
4848

49-
2. Make sure your existing packages are up-to-date.
49+
2. Make sure your existing packages are up-to-date.
5050

5151
```bash
5252
$ sudo yum update
5353
```
5454

55-
3. Add the `yum` repo.
55+
3. Add the `yum` repo.
5656

5757
```bash
5858
$ sudo tee /etc/yum.repos.d/docker.repo <<-'EOF'
@@ -65,19 +65,19 @@ which also installs via the `yum` package manager.
6565
EOF
6666
```
6767
68-
4. Install the Docker package.
68+
4. Install the Docker package.
6969
7070
```bash
7171
$ sudo yum install docker-engine
7272
```
7373
74-
5. Enable the service.
74+
5. Enable the service.
7575
7676
```bash
7777
$ sudo systemctl enable docker.service
7878
```
7979
80-
6. Start the Docker daemon.
80+
6. Start the Docker daemon.
8181
8282
```bash
8383
$ sudo systemctl start docker
@@ -119,35 +119,35 @@ learn how to [customize your Systemd Docker daemon options](../../admin/systemd.
119119
120120
### Install with the script
121121
122-
1. Log into your machine as a user with `sudo` or `root` privileges.
122+
1. Log into your machine as a user with `sudo` or `root` privileges.
123123
124-
2. Make sure your existing packages are up-to-date.
124+
2. Make sure your existing packages are up-to-date.
125125
126126
```bash
127127
$ sudo yum update
128128
```
129129
130-
3. Run the Docker installation script.
130+
3. Run the Docker installation script.
131131
132132
```bash
133133
$ curl -fsSL https://get.docker.com/ | sh
134134
```
135135
136136
This script adds the `docker.repo` repository and installs Docker.
137137
138-
4. Enable the service.
138+
4. Enable the service.
139139
140140
```bash
141141
$ sudo systemctl enable docker.service
142142
```
143143
144-
5. Start the Docker daemon.
144+
5. Start the Docker daemon.
145145
146146
```bash
147147
$ sudo systemctl start docker
148148
```
149149
150-
6. Verify `docker` is installed correctly by running a test image in a container.
150+
6. Verify `docker` is installed correctly by running a test image in a container.
151151
152152
```bash
153153
$ sudo docker run hello-world
@@ -173,25 +173,25 @@ makes the ownership of the Unix socket read/writable by the `docker` group.
173173
174174
To create the `docker` group and add your user:
175175
176-
1. Log into your machine as a user with `sudo` or `root` privileges.
176+
1. Log into your machine as a user with `sudo` or `root` privileges.
177177
178-
2. Create the `docker` group.
178+
2. Create the `docker` group.
179179
180180
```bash
181181
$ sudo groupadd docker
182182
```
183183
184-
3. Add your user to `docker` group.
184+
3. Add your user to `docker` group.
185185
186186
```bash
187187
$ sudo usermod -aG docker your_username`
188188
```
189189
190-
4. Log out and log back in.
190+
4. Log out and log back in.
191191
192192
This ensures your user is running with the correct permissions.
193193
194-
5. Verify that your user is in the docker group by running `docker` without `sudo`.
194+
5. Verify that your user is in the docker group by running `docker` without `sudo`.
195195
196196
```bash
197197
$ docker run hello-world
@@ -209,15 +209,15 @@ $ sudo systemctl enable docker
209209
210210
You can uninstall the Docker software with `yum`.
211211
212-
1. List the installed Docker packages.
212+
1. List the installed Docker packages.
213213
214214
```bash
215215
$ yum list installed | grep docker
216216
217217
docker-engine.x86_64 1.7.1-0.1.el7@/docker-engine-1.7.1-0.1.el7.x86_64
218218
```
219219
220-
2. Remove the package.
220+
2. Remove the package.
221221
222222
```bash
223223
$ sudo yum -y remove docker-engine.x86_64
@@ -226,7 +226,7 @@ You can uninstall the Docker software with `yum`.
226226
This command does not remove images, containers, volumes, or user-created
227227
configuration files on your host.
228228
229-
3. To delete all images, containers, and volumes, run the following command:
229+
3. To delete all images, containers, and volumes, run the following command:
230230
231231
```bash
232232
$ rm -rf /var/lib/docker

engine/installation/linux/ubuntulinux.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ title: 'Installation on Ubuntu '
1616
Docker is supported on these Ubuntu operating systems:
1717

1818
- Ubuntu Xenial 16.04 (LTS)
19-
- Ubuntu Wily 15.10
2019
- Ubuntu Trusty 14.04 (LTS)
2120
- Ubuntu Precise 12.04 (LTS)
2221

@@ -83,10 +82,6 @@ packages from the new repository:
8382

8483
deb https://apt.dockerproject.org/repo ubuntu-trusty main
8584

86-
- Ubuntu Wily 15.10
87-
88-
deb https://apt.dockerproject.org/repo ubuntu-wily main
89-
9085
- Ubuntu Xenial 16.04 (LTS)
9186

9287
deb https://apt.dockerproject.org/repo ubuntu-xenial main
@@ -116,10 +111,9 @@ packages from the new repository:
116111
### Prerequisites by Ubuntu Version
117112

118113
- Ubuntu Xenial 16.04 (LTS)
119-
- Ubuntu Wily 15.10
120114
- Ubuntu Trusty 14.04 (LTS)
121115

122-
For Ubuntu Trusty, Wily, and Xenial, it's recommended to install the
116+
For Ubuntu Trusty, and Xenial, it's recommended to install the
123117
`linux-image-extra-*` kernel packages. The `linux-image-extra-*` packages
124118
allows you use the `aufs` storage driver.
125119

machine/drivers/aws.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ You can use environment variables:
7272
- `--amazonec2-use-ebs-optimized-instance`: Create an EBS Optimized Instance, instance type must support it.
7373
- `--amazonec2-ssh-keypath`: Path to Private Key file to use for instance. Matching public key with .pub extension should exist
7474
- `--amazonec2-retries`: Set retry count for recoverable failures (use -1 to disable)
75+
- `--amazonec2-userdata`: Path to custom User Data file.
7576

7677

7778
#### Environment variables and default values:
@@ -102,6 +103,7 @@ You can use environment variables:
102103
| `--amazonec2-use-ebs-optimized-instance` | - | `false` |
103104
| `--amazonec2-ssh-keypath` | `AWS_SSH_KEYPATH` | - |
104105
| `--amazonec2-retries` | - | `5` |
106+
| `--amazonec2-user-data` | `AWS_USERDATA` | - |
105107

106108
## Default AMIs
107109

0 commit comments

Comments
 (0)