Can anyone suggest how to change docker image download location?
right now it is stored in /var/lib/docker (500mb only free space).
I referred below links
How to change the docker image installation directory?
https://forums.docker.com/t/how-do-i-change-the-docker-image-installation-directory/1169
but it does not match with my configuration eg. /etc/sysconfig/docker I could not find this file. I followed this link to install (install with dnf method). I am trying to find where it is get install by using linux cli command find / -name -type f "docker" it list /usr/bin/docker. I could not able to open this file in editor it seem like shell script. open that file using VI editor but the file full of junk characters.
Thanks
There is one tricky way to do this.
What you need is just move your data and symlink it to new location without any config changes.
It should work just as before.