TruCol / Self-host-GitLab-CI-for-GitHub

Installs your own GitLab CI and runs it on all your GitHub repos, in a single command.
GNU Affero General Public License v3.0
4 stars 3 forks source link

Ensure docker container id is retrieved correctly. #143

Open a-t-0 opened 1 year ago

a-t-0 commented 1 year ago

For command:

 ./install_gitlab.sh -s -r -hu a-t-0 -le somegitlab@email.com -lp -hp

One can find output:

stop_docker
groupadd: group 'docker' already exists

start_docker
CONTAINER ID   IMAGE                     COMMAND             CREATED          STATUS    PORTS     NAMES
65bf1feefedb   gitlab/gitlab-ce:latest   "/assets/wrapper"   35 minutes ago   Created             gitlab
list_all_docker_containers
stop_gitlab_package_docker
remove_gitlab_package_docker
Error: No such container: Error, the docker container id was not found.

remove_gitlab_docker_containers