install gitlab with docker

install gitlab with docker

#Run the image
docker run --detach --hostname gitdocker.gnoti.com --publish 8897:80 --publish 6015:22 --name gitlab --restart always --volume /srv/gitlab/config:/home/min/GitLab --volume /srv/gitlab/logs:/home/min/GitLab/log --volume /srv/gitlab/data:/home/min/GitLab/data gitlab/gitlab-ce:latest

[root@gitlabd ~]# docker run --detach --hostname git.gnoti.com --publish 8897:80 --publish 6015:22 --name gitlab --restart always --volume /srv/gitlab/config:/home/min/GitLab --volume /srv/gitlab/logs:/home/min/GitLab/log --volume /srv/gitlab/data:/home/min/GitLab/data gitlab/gitlab-ce:latest
Unable to find image 'gitlab/gitlab-ce:latest' locally
latest: Pulling from gitlab/gitlab-ce
0a01a72a686c: Pull complete
cc899a5544da: Pull complete
19197c550755: Pull complete
716d454e56b6: Pull complete
b66ad69c1d8e: Pull complete
462500695a87: Pull complete
453c7300278b: Pull complete
d7a5a55d56da: Pull complete
8e0cebb8d658: Pull complete
0b6cca773e2f: Pull complete
Digest: sha256:3089a9ab5ee6e8a418c35312708408ddf07d2b40808f11e8e307aa119fe49313
Status: Downloaded newer image for gitlab/gitlab-ce:latest
9cf8a5d4a5ead15a9ca380af295879673f793ed94fc524ccbcd926b34b2ce6c9
[root@gitlabd ~]# docker ps -a
CONTAINER ID        IMAGE                     COMMAND             CREATED             STATUS                            PORTS                                                 NAMES
9cf8a5d4a5ea        gitlab/gitlab-ce:latest   "/assets/wrapper"   11 seconds ago      Up 8 seconds (health: starting)   443/tcp, 0.0.0.0:6015->22/tcp, 0.0.0.0:8897->80/tcp   gitlab
[root@gitlabd ~]#

[root@localhost ~]# vi requirements.txt
imutils==0.5.3
opencv-python==4.1.0.25
numpy==1.16.4

댓글

이 블로그의 인기 게시물

error You have $NVM_DIR set to "/root/.nvm", but that directory does not exist. Check your profile files and environment.

linux mint install xrdp

centos 6.x yum update problem making ssl connection