GitLab Server Docker Image
docker exec -it <container name> gitlab-ctl reconfigure
docker exec -it <container name> gitlab-ctl restart
docker exec -it <container name> gitlab-rake gitlab:backup:create
By default the backup file are stored in the container folder
/var/opt/gitlab/backups
(on the host into$GITLAB_DATA_HOME/backups
)
docker exec -it <container name> gitlab-rake gitlab:backup:restore
docker exec -it <container name> gitlab-rake gitlab:ldap:check
Is possible to use docker-compose exec
command, replacing docker exec -it <container name>
with ./docker-auto.sh exec gitlab
.