Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitlab: can't set domainname thru /proc/sys/kernel/domainname #46

Open
snajpa opened this issue Oct 25, 2020 · 0 comments
Open

Gitlab: can't set domainname thru /proc/sys/kernel/domainname #46

snajpa opened this issue Oct 25, 2020 · 0 comments

Comments

@snajpa
Copy link
Member

snajpa commented Oct 25, 2020

Yet another bug stemming from absolutely incompetent developers of Docker:

docker/for-linux#743

[CT 17749] root@testram:~# docker-compose up
WARNING: The GITLAB_HOME variable is not set. Defaulting to a blank string.
Removing root_web_1
Recreating 7b7221faa6a7_root_web_1 ... error

ERROR: for 7b7221faa6a7_root_web_1  Cannot start service web: b'OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \\"write sysctl key kernel.domainname: open /proc/sys/kernel/domainname: permission denied\\"": unknown'

ERROR: for web  Cannot start service web: b'OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \\"write sysctl key kernel.domainname: open /proc/sys/kernel/domainname: permission denied\\"": unknown'
ERROR: Encountered errors while bringing up the project.

[CT 17749] root@testram:~# cat docker-compose.yml 
web:
  image: 'gitlab/gitlab-ee:latest'
  restart: always
  hostname: 'gitlab.example.com'
  environment:
    GITLAB_OMNIBUS_CONFIG: |
      external_url 'https://gitlab.example.com'
      # Add any other gitlab.rb configuration here, each on its own line
  ports:
    - '80:80'
    - '443:443'
    - '2222:22'
  volumes:
    - '$GITLAB_HOME/config:/etc/gitlab'
    - '$GITLAB_HOME/logs:/var/log/gitlab'
    - '$GITLAB_HOME/data:/var/opt/gitlab'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant