Docker Builds fail with "error: build error: devmapper: Error mounting"

Solution Verified - Updated -

Issue

  • We're seeing sporadic errors when using the Docker Build strategy with OpenShift builds :

error: build error: devmapper: Error mounting '/dev/mapper/docker-253:7-786433-66102a8b70b2778aac36aa9ef99d6cbb7d9b9f46188ff870807c017496162a7c' on '/var/lib/docker/devicemapper/mnt/66102a8b70b2778aac36aa9ef99d6cbb7d9b9f46188ff870807c017496162a7c': invalid argument

Environment

  • Docker
    • docker-1.12.6-61
    • docker-1.12.6-68
    • docker-1.12.6-71
  • Openshift Container Platform
    • 3.6
    • 3.7
  • Twistlock (with docker devmapper)
    • 2.2
    • 2.3

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.