mirror of https://github.com/docker/docs.git
Merge pull request #102 from mbentley/update-cs-install-docs
Add step to configure devicemapper before starting daemon
This commit is contained in:
commit
5f38b8ee4f
|
@ -56,27 +56,31 @@ to update its RHEL kernel.
|
||||||
$ sudo yum install docker-engine
|
$ sudo yum install docker-engine
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Enable the Docker daemon as a service and start it.
|
6. Configure devicemapper:
|
||||||
|
|
||||||
|
By default, the `devicemapper` graph driver does not come pre-configured in a production ready state. Follow the documented step by step instructions to [configure devicemapper with direct-lvm for production](../../engine/userguide/storagedriver/device-mapper-driver/#/for-a-direct-lvm-mode-configuration) in order to achieve the best performance and reliability for your environment.
|
||||||
|
|
||||||
|
7. Enable the Docker daemon as a service and start it.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo systemctl enable docker.service
|
$ sudo systemctl enable docker.service
|
||||||
$ sudo systemctl start docker.service
|
$ sudo systemctl start docker.service
|
||||||
```
|
```
|
||||||
|
|
||||||
7. Confirm the Docker daemon is running:
|
8. Confirm the Docker daemon is running:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo docker info
|
$ sudo docker info
|
||||||
```
|
```
|
||||||
|
|
||||||
8. Optionally, add non-sudo access to the Docker socket by adding your user
|
9. Optionally, add non-sudo access to the Docker socket by adding your user
|
||||||
to the `docker` group.
|
to the `docker` group.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo usermod -a -G docker $USER
|
$ sudo usermod -a -G docker $USER
|
||||||
```
|
```
|
||||||
|
|
||||||
9. Log out and log back in to have your new permissions take effect.
|
10. Log out and log back in to have your new permissions take effect.
|
||||||
|
|
||||||
## Install on Ubuntu 14.04 LTS
|
## Install on Ubuntu 14.04 LTS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue