Docker failed with the error: Error response from daemon: error creating overlay mount to invalid argument

If you receive below  error when trying to configure a docker application:

Docker failed with the error /usr/bin/docker-current: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/7c4d8f03ccf41236909e893b4628bb80860a529f35ada036da379d375de5c7bb-init/merged: invalid argument. See '/usr/bin/docker-current 

the fix is to edit /etc/docker/daemon.json file and add below content to it:

{ "storage-driver": "devicemapper" }

 

Reload the systemctl daemon:

systemctl daemon-reload

And restart docker service:

systemctl restart docker
  • docker, failed, with the error, error creating overlay mount to invalid argument
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

 Centos 8 to Centos 8 Stream migration

Update CentOS 8 to latest available version using command: $ sudo dnf update After updating the...

 Count the amount of inodes - files in a given directory

#!/bin/bash## @title inodes#...

 cve-2021-3156 vulnerability

Qualys Security Advisory Baron Samedit: Heap-based buffer overflow in Sudo (CVE-2021-3156)...

 Fail2ban high memory usage

The initial fail2ban virtual memory overhead on the server was approximately 350MB.While that is...

 Fail2ban how to block unblock whitelist ip

fail2ban-client status Status|- Number of jail: 1`- Jail list: sshd This command will show the...