How to stop docker-machine create from pruning images
0
Is there a way to disable docker-machine from deleting docker images when creating host instances? My team is using Gitlab's gitlab-runner autoscaling with docker-machine for CI on AWS. We're emulating gitlab.com's functionality where each build gets a fresh EC2 instance with docker running. To help speed up builds I've created a custom AMI where common docker images are pulled locally. Docker-machine uses this AMI to create EC2 instances. Unfortunately the docker-machine create startup deletes all local images on the AMI.
amazon-web-services docker gitlab docker-machine gitlab-ci-runner
share | improve this question
asked Nov 22 at 18:22