Can Travis CI cache docker images?
问题 Is it possible to add a setting to cache my docker image anywhere in the travis configuration ? Mine is a bigger docker image and it takes a while for it to download. Any suggestions ? 回答1: See Caching Docker Images on Build #5358 for the answer(s). For Docker 1.12 available now on Travis, it is recommended to manually cache the images. For the Docker 1.13, you could use its --cache-from when it is on Travis. 回答2: Simplest solution today (October 2019) is to add the following to .travis.yml :