Add step to configure devicemapper before starting daemon

Signed-off-by: Matt Bentley <matt.bentley@docker.com>
This commit is contained in:
Matt Bentley 2016-10-06 08:05:46 -04:00
parent 16b570d779
commit f52ee4bef9
No known key found for this signature in database
GPG Key ID: F38E24466CFFC4FB
1 changed files with 8 additions and 4 deletions

View File

@ -63,27 +63,31 @@ to update its RHEL kernel.
$ 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
$ sudo systemctl enable docker.service
$ sudo systemctl start docker.service
```
7. Confirm the Docker daemon is running:
8. Confirm the Docker daemon is running:
```bash
$ 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.
```bash
$ 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