Answers: <p>Do you have a volume mounted with gitlab-runner-prebuilt.tar.xz? Your error log makes it seem like it can't find the file when it executes.</p>
  
Answers: CC BY-SA 4.0
Answers: 2019-08-12T14:02:33.530Z
Answers: 2019-08-12T14:02:33.530Z
Answers: Preston Martin
Body: <p>I've installed the Gitlab local server and also install the Gitlab-runner and everything needs to use the CI/CD tools. After that When I run the CI/CD tools to build and deploy the project, it makes build failed.</p>
  
  <p>Error detail:</p>
  
  <pre><code>Using Docker executor with image alpine:latest ... 
  
  ERROR: Failed to
  create container volume for /builds/root Unable to load image:
  gitlab-runner-prebuilt: "open
  /var/lib/gitlab-runner/gitlab-runner-prebuilt.tar.xz: no such file or
  directory" 
  
  ERROR: Preparation failed: Unable to load image:
  gitlab-runner-prebuilt: "open
  /var/lib/gitlab-runner/gitlab-runner-prebuilt.tar.xz: no such file or
  directory"
  </code></pre>
  
  <p><a href="https://i.sstatic.net/a9FFN.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/a9FFN.png" alt="enter image description here"></a></p>
  
  <p><strong>What is the problem and how can I resolve it?</strong></p>
  
Comments: CC BY-SA 4.0
Comments: 2020-01-09T16:37:16.960Z
Comments: @Admintabar welcome to the DevOps SE site! Please share if possible your GitLab runner configuration ```/etc/gitlab-runner/config.toml```
Comments: Ta Mu
Tags: <docker><gitlab><continuous-deployment><gitlab-ci-runner>
Title: Gitlab CI\CD Error: Failed to create container volume for /builds/root Unable to load image
UserDisplayName: Amintabar
ThreadText: # Gitlab CI\CD Error: Failed to create container volume for /builds/root Unable to load image
  
  (Asked by: username_0 on 2019-08-11)
  
  I've installed the Gitlab local server and also install the Gitlab-runner and everything needs to use the CI/CD tools. After that When I run the CI/CD tools to build and deploy the project, it makes build failed.
  
  Error detail:
  
  ```
  Using Docker executor with image alpine:latest ... 
  
  ERROR: Failed to
  create container volume for /builds/root Unable to load image:
  gitlab-runner-prebuilt: "open
  /var/lib/gitlab-runner/gitlab-runner-prebuilt.tar.xz: no such file or
  directory" 
  
  ERROR: Preparation failed: Unable to load image:
  gitlab-runner-prebuilt: "open
  /var/lib/gitlab-runner/gitlab-runner-prebuilt.tar.xz: no such file or
  directory"
  
  ```
  
  [![enter image description here](https://i.sstatic.net/a9FFN.png)](https://i.sstatic.net/a9FFN.png)
  
  **What is the problem and how can I resolve it?**
  
  **Tags:** docker, gitlab, continuous-deployment, gitlab-ci-runner
  
  > **Comments:**
  > **username_1**: @Admintabar welcome to the DevOps SE site! Please share if possible your GitLab runner configuration ```/etc/gitlab-runner/config.toml```  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-08-12. Score: 1
  
  Do you have a volume mounted with gitlab-runner-prebuilt.tar.xz? Your error log makes it seem like it can't find the file when it executes.
  
  
  ---
  
  