Cache docker images on Travis CI
问题 Is it possible to cache docker images on Travis CI? Attempting to cache the /var/lib/docker/aufs/diff folder and /var/lib/docker/repositories-aufs file with cache.directories in the travis.yml doesn't seem to work since they require root. 回答1: From a Docker perspective, I think the best way you could do this (without the possibility of running a network local registry) is save the Docker image and cache the exported tar ball. You would need to load that at the start rather than pull an image.