'Is there a way to change /var/lib/docker/overlay2 position or specify a new position in docker config? not change the entire /var/lib/docker position

I know the /var/lib/docker position can be changed, but that's not I want.

Also symlink has been tested not work.

docker: Error response from daemon: OCI runtime create failed: /home/***/docker/overlay2/9f7dd36816b286d6f31ce3715d6d7d080bcec13d2c09c340706a9a19b2ea784d/merged is not an absolute path or is a symlink: unknown.

Hard link in docker folder is forbidden.

ln: /***/overlay2: hard link not allowed for directory



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source