Question

How do Droplet images work? Where's the stuff?

Posted October 4, 2014 1.9k views

Hi there,

first of all I’m new here, I just started a Droplet with a GitLab Image and everything works as expected. I can use GitLab with no problems.

I accessed the Droplet via SSH to add a user, maybe add a static page with nginx but I found nothing. There’s no git, no ruby, no nginx installed.

I tried

$ git –version
$ which –version
$ which ruby

etc. but there’s nothing. None of the GitLab requirements.

How can that be? Where’s the stuff? What am I missing?

Thanks a lot.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Exact same question, word for word, so I hope you don’t mind an identical response.

The GitLab one-click app uses GitLab’s “omnibus” installation. The files for GitLab are found under /opt/gitlab/, this includes bundled version of Ruby and git that are not part of the system-wide install. It’s designed to be tightly integrated with GitLab managing the services using the gitlab-ctl scripts.

This article runs through all the details:

  • Thanks @asb for replying. I don’t mind the same answer at all (in fact that person copy/pasted my question, you can check the publish date.)

    So if I install git system-wide will that conflict with the one in /opt/gitlab/? Are these bundled version protected?

    Thanks again.

  • You can install the git package from the repositories and use it if you want. GitLab itself won’t use though. If you’re concerned about disk space and don’t want to duplicate it, you could use /opt/gitlab/embedded/bin/git directly.

Submit an Answer