gitlab-ctl: command not found
i'm using Ubuntu 16.04 LTS and run gitlab following:
sudo docker run --detach
--hostname gitlab.example.com
--publish 443:443 --publish 80:80 --publish 22:22
--name gitlab
--restart always
--volume /srv/gitlab/config:/etc/gitlab
--volume /srv/gitlab/logs:/var/log/gitlab
--volume /srv/gitlab/data:/var/opt/gitlab
gitlab/gitlab-ce:latest
Everything is ok. But when I run "docker stop gitlab", then "docker start gitlab". I got error as:
Thank you for using GitLab Docker Image!
Current version: gitlab-ce=12.3.3-ce.0
Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
And restart this container to reload settings.
To do it use docker exec:
docker exec -it gitlab vim /etc/gitlab/gitlab.rb
docker restart gitlab
For a comprehensive list of configuration options please see the Omnibus GitLab readme
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
If this container fails to start due to permission problems try to fix it by executing:
docker exec -it gitlab update-permissions
docker restart gitlab
Cleaning stale PIDs & sockets
Preparing services...
/assets/wrapper: line 112: /opt/gitlab/embedded/bin/runsvdir-start: No such file or directory
/assets/wrapper: line 115: gitlab-ctl: command not found
Starting services...
Configuring GitLab...
Please help me solve this problem. Thanks