1

I'm currently running a gitlab 6, which I've installed locally. Now I'm trying to migrate my services to docker. Luckily there is a gitlab docker container, but it is version 8 and provides the tree volumes /etc/gitlab, /var/log/gitlab and /var/opt/gitlab. But I only have gitlab files in /home/git/.

Is there any way of migrating a gitlab 6 to version 8 in a docker?

I know this question is somehow related to How to migrate gitlab backups to new server which has latest gitlab version but this is only within a major release.

CSchulz
  • 10,882
  • 11
  • 60
  • 114
white_gecko
  • 4,808
  • 4
  • 55
  • 76
  • I don't think this really relates to docker, but to gitlab in general. So, I think you'll have to install GitLab 7 as an intermediate step, i.e. https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/update/6.x-or-7.x-to-7.14.md, and http://doc.gitlab.com/ce/update/7.14-to-8.0.html – thaJeztah Jan 19 '16 at 00:18

1 Answers1

2

Given that there's no direct upgrade path from GitLab 6 to 8, you'd probably have to;

After that, you should be able to run the Gitlab CE image from Docker Hub, and mount your existing data as a volume, using the instructions in the documentation

Note that the upgrade steps are not specific to running GitLab in a Docker container

icedwater
  • 4,701
  • 3
  • 35
  • 50
thaJeztah
  • 27,738
  • 9
  • 73
  • 92