Error Initializing Docker: "devicemapper: Non existing device docker--vg-docker--pool"

Problem

Docker is failing to start with the following error message.

Copy

Environment

  • Platform9 Managed Kubernetes - All Versions
  • Docker

Cause

The prerequisite logical volume for Docker was not named correctly as per the storage options in /etc/docker/daemon.json.

Resolution

Note: The following scenarios assume that the logical volume name is intended to be docker-pool, as per the error message.

Option #1

  1. Rename the logical volume.
Copy

Option #2

  1. Modify /etc/docker/daemon.json to match the path of the logical volume that was created.
Copy

Additional Information

Preparing CentOS or RHEL 7 system for running Platform9 Managed Kubernetes

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard