How to convert docker storage from loopback to direct LVM

Solution Verified - Updated -

Issue

  • Docker is presenting the following or similar error:

    Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
    
  • Docker is currently using loopback storage and direct LVM storage is desired instead.

Environment

  • Red Hat Enterprise Linux 7
  • Docker 1.6.2 and later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.