# WARNING: This value is valid only in the following conditions # 1. If provided manually (either via `GITLAB_ROOT_PASSWORD` environment variable or via `gitlab_rails['initial_root_password']` setting in `gitlab.rb`, it was provided before database was seeded for th e first time (usually, the first reconfigure run). # 2. Password hasn't been changed manually, either via UI or via command line. # # If the password shown here doesn't work, you must reset the admin password following https://docs.gitlab.com/ee/security/reset_user_password.html#reset-your-root-password.
#會要你打 yes #The authenticity of host '[gggitlab]:2222 ([192.168.137.219]:2222)' can't be established. #ECDSA key fingerprint is SHA256:7h1cEZ6e6DhY0xZgea0987zE/4hYfXla/iWLbTsZGF8. #Are you sure you want to continue connecting (yes/no/[fingerprint])? yes #Warning: Permanently added '[gggitlab]:2222,[192.168.137.219]:2222' (ECDSA) to the list of known hosts.
build: stage: build script: - docker run hello-world
如果都有設定成功的話執行 docker images 會長這樣
1 2 3 4 5 6 7
REPOSITORY TAG IMAGE ID CREATED SIZE registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper x86_64-8925d9a0 ce5fee60525e 52 minutes ago 72MB gitlab/gitlab-ee latest c5b017ad7f7a 2 days ago 2.4GB docker dind ede8a8017c85 2 weeks ago 231MB gitlab/gitlab-runner latest 7f83dee88242 4 weeks ago 1.9GB hello-world latest d1165f221234 5 months ago 13.3kB docker stable b0757c55a1fd 8 months ago 220MB
如果你執行 pipeline 的時候會從 host 上面看到兩個奇怪的 container 在跑
1 2 3 4 5 6 7 8 9 10
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES a7f82ace1b52 213df41cd892 "/usr/bin/dumb-init …" 1 second ago Up Less than a second runner-xwjhepae-project-2-concurrent-0-96b3efa40d914cd2-docker-0-wait-for-service 51b8fb27c636 ede8a8017c85 "dockerd-entrypoint.…" 1 second ago Up Less than a second 2375-2376/tcp runner-xwjhepae-project-2-concurrent-0-96b3efa40d914cd2-docker-0 7bccda72335b gitlab/gitlab-runner:latest "/usr/bin/dumb-init …" 9 minutes ago Up 9 minutes gitlab-runner 82dc60e7b052 gitlab/gitlab-ee:latest "/assets/wrapper" 5 hours ago Up 28 minutes (healthy) 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 0.0.0.0:2222->22/tcp, ::: 2222->22/tcp gitlab