Skip to content

gitlab

Commands

# show logs for nginx
gitlab-ctl tail nginx

# pushing images to registry
docker push gitlab.domain.com:4567/root/hello_docker/hello_docker:latest

change user password

# execute line-by-line
gitlab-rails console
  user = User.find_by(email: '[email protected]')
  user.password = 'new_password'
  user.password_confirmation = 'new_password'
  user.save!

gitlab-runner

gitlab-runner register -n --url <url> --registration-token <token> --executor docker --description <desc> --docker-image "docker:stable" --docker-privileged

Issues

denied: requested access to the resource is denied

The project should be created

TLS connection between gitlab-runner и Docker Swarm