Additionaly, you could move docker’s data-root folder to the ssd drive. As a result all images, containers, and docker internal configuration will be stored on it.
If the filesystem of the old and new folder are identical (from ext4 to xfs or vise versa is also fine), you can simply stop the docker service and copy /var/lib/docker to the new location on ssd, configure the new location on ssd as data-root, restart the docker service and enjoy.