white_gecko
white_gecko

Reputation: 5086

Gitlab migrate from 6.x to 8 in docker

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.

Upvotes: 1

Views: 1056

Answers (1)

thaJeztah
thaJeztah

Reputation: 29137

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

Upvotes: 2

Related Questions