title: Pipeline built on the top of GitLab is failing because of docker persistent volumes
body: <p>I am setting up CI/CD pipeline in gitlab. I have self hosted gitlab version 11.4 running on my server. I am using shell executer for gitlab-runner instance. In my source code, there is a docker-compose.yml file which has 8 different containers (mysql, elasticsearch, php, nginx, queue).</p>
  
  <p>When i push new code, it triggers defined pipeline and stopped with following errors</p>
  
  <pre><code>Running with gitlab-runner 11.6.0 (f100a208)
    on iZAPLabs runner 9a639f82
  Using Shell executor...
  Running on ip-10-250-142-190...
  Fetching changes...
  warning: could not open directory 'docker/.data/db/ginvoicing_dev/': Permission denied
  warning: could not open directory 'docker/.data/db/mysql/': Permission denied
  warning: could not open directory 'docker/.data/db/performance_schema/': Permission denied
  warning: failed to remove docker/.data/redis/dump.rdb: Permission denied
  warning: failed to remove docker/.data/db/ib_logfile0: Permission denied
  warning: failed to remove docker/.data/db/ginvoicing_dev: Permission denied
  warning: failed to remove docker/.data/db/ibdata1: Permission denied
  warning: failed to remove docker/.data/db/auto.cnf: Permission denied
  warning: failed to remove docker/.data/db/mysql: Permission denied
  warning: failed to remove docker/.data/db/performance_schema: Permission denied
  warning: failed to remove docker/.data/db/ib_logfile1: Permission denied
  warning: failed to remove docker/.data/elasticsearch: Permission denied
  warning: failed to remove docker/var/run/php: Permission denied
  ERROR: Job failed: exit status 1
  </code></pre>
  
  <p>.data directory has docker volumes mounted in the different containers. But i don't know why new push is trying to remove them. I even try to use "cache" directive. But no luck.</p>
  
  <p>Any help would be appreciated.</p>