We want to make sure that volume changes in Docker 1.13 will not cause issues with how we use volumes to share output between steps with Codeship. This repo runs a simple container with a volume to a directory that does not exist on the host system. We then add a file into. The next step mounts that same volume again and tries to read the file.
Once we are done testing this repository can be safely deleted.
- Verify you are running Docker version 1.13 or newer (
docker version
) - Make sure you do not have an output dir already, if you do run
rm -R output/
- Run
jet steps
I've tested running this locally on my Macbook using Docker for Mac 1.13.1 and the steps are passing without issue. The directory gets created automatically on my host machine.