This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install docker | |
# execute commands as root | |
curl -sSL https://get.docker.com | sh | |
service docker stop | |
# switch to direct-lvm storage (https://docs.docker.com/engine/userguide/storagedriver/device-mapper-driver/) | |
apt-get install thin-provisioning-tools lvm2 | |
pvcreate /dev/sda1 | |
vgcreate docker /dev/sda1 |