Giter Site home page Giter Site logo

Permission error about docker-gitlab-runner HOT 3 OPEN

Beanow avatar Beanow commented on July 18, 2024
Permission error

from docker-gitlab-runner.

Comments (3)

sgillespie avatar sgillespie commented on July 18, 2024

Can you tell give me more details about the environment? What is the volume created? How is the service created?

from docker-gitlab-runner.

cloudwitch avatar cloudwitch commented on July 18, 2024

I'm seeing the same error when trying to build a basic docker image. Here is my swarm compose stanza. The image also needs to be updated to the new 10.x gitlab-runner as the multi-runner has been deprecated.

version: "3.4"
services:
  gitlab:
    image: gitlab/gitlab-ce:latest
    ports:
      - 50180:80
      - 50122:22
    networks:
      - gitlab
    deploy:
      replicas: 1
      update_config:
        parallelism: 1
        delay: 10s
      restart_policy:
        condition: any
    environment:
      GITLAB_OMNIBUS_CONFIG: |
        external_url 'http://example.com/git'
    volumes:
      - type: bind
        source: /opt/docker/gitlab/config
        target: /etc/gitlab
      - type: bind
        source: /opt/docker/gitlab/logs
        target: /var/log/gitlab
      - type: bind
        source: /opt/docker/gitlab/data
        target: /var/opt/gitlab
  gitlab_runner:
    image: sgillespie/gitlab-runner
    networks:
      - gitlab
    deploy:
      replicas: 1
      update_config:
        parallelism: 1
        delay: 10s
      restart_policy:
        condition: any
    volumes:
      - type: bind
        source: /opt/docker/gitlab/config
        target: /etc/gitlab
    environment:
      - REGISTRATION_TOKEN=token
      - CI_SERVER_URL=http://gitlab_gitlab/git
      - RUNNER_EXECUTOR=shell
      - RUNNER_SHELL=bash


networks:
  gitlab:

from docker-gitlab-runner.

robbyemmert avatar robbyemmert commented on July 18, 2024

I'm suddenly also getting this error. Any ideas?

from docker-gitlab-runner.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.