Skip to content

Simple script to setup `devicemapper` on CentOS or RHEL for use with Docker

Notifications You must be signed in to change notification settings

mbentley/docker-devicemapper-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-devicemapper-setup

Note: This script is no longer needed as of Docker 17.06 as there is built in functionality in the engine to do this. See the devicemapper documentation.

Simple script to setup devicemapper on CentOS, RHEL, or Oracle Linux for use with Docker. These instructions are based of the official direct-lvm configuration for production documentation.

Warning: This will destroy anything on the specified block device or partition!

Usage

sudo ./docker_thinpool_setup.sh /path/to/block/device

Example with a unpartition block device

sudo ./docker_thinpool_setup.sh /dev/sdb

Example with a single partition on a block device

sudo ./docker_thinpool_setup.sh /dev/sdb3

Standalone deferred deletion check

sudo ./deferred_deletion_check/standalone_deferred_deletion_check.sh

About

Simple script to setup `devicemapper` on CentOS or RHEL for use with Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages