This shows you the differences between two versions of the page.
puppetdockerdirectlvm [2017/12/07 17:16] ian created |
puppetdockerdirectlvm [2020/02/13 22:55] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Using Puppet to Install Docker with Direct-LVM ====== | ||
- | |||
- | Using 2 puppetforge modules it is possible to configure LVM and docker engine. | ||
- | |||
- | https:// | ||
- | https:// | ||
- | |||
- | I was unable to find any documentation on configuring direct-lvm though, but in the end it's not as complicated as I thought: | ||
- | |||
- | < | ||
- | class { ' | ||
- | volume_groups | ||
- | ' | ||
- | physical_volumes => [ '/ | ||
- | logical_volumes | ||
- | ' | ||
- | }, | ||
- | }, | ||
- | }, | ||
- | } -> | ||
- | |||
- | class { ' | ||
- | version | ||
- | manage_kernel | ||
- | storage_driver => ' | ||
- | dm_thinpooldev => '/ | ||
- | } | ||
- | </ | ||
- | |||
- | < | ||
- | # docker info | ||
- | ... | ||
- | Storage Driver: devicemapper | ||
- | Pool Name: docker-thinpool | ||
- | Pool Blocksize: 262.1kB | ||
- | Base Device Size: 10.74GB | ||
- | | ||
- | Data file: | ||
- | | ||
- | </ | ||