title: How to use GitLab CI with a custom Docker image?
body: <p>I made a simple <code>Dockerfile</code>:</p>
  
  <pre><code>FROM openjdk
  EXPOSE 8080
  </code></pre>
  
  <p>and built an image using:</p>
  
  <pre><code>docker build -t test .
  </code></pre>
  
  <p>I installed and configured a docker GitLab CI runner and now I would like to use this runner with my <code>test</code> image. So I wrote the following <code>.gitlab-ci.yml</code> file:</p>
  
  <pre><code>image: test
  
  run:
    script:
      - echo "Hello world!"
  </code></pre>
  
  <p>But to my disappointment, the local <code>test</code> image that I can use on my machine was not found.</p>
  
  <pre><code>Running with gitlab-ci-multi-runner 9.4.2 (6d06f2e)
    on martin-docker-rawip (70747a61)
  Using Docker executor with image test ...
  Using docker image sha256:fa91c6ea64ce4b9b44672c6e56eed8312d0ec2afc80730cbee7754bc448ea22b for predefined container...
  Pulling docker image test ...
  ERROR: Job failed: Error response from daemon: repository test not found: does not exist or no pull access
  </code></pre>
  
  <p>I do not even know what is going on anymore. How can I make the runner aware of this image that I made?</p>