File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ Enable Docker commands in your CI/CD jobs:
1616 *  Install GitLab Runner
1717 *  Register a runner. Select the shell executor
1818 *  On the server where GitLab Runner is installed, install Docker Engine. View a list of supported platforms
19-  *  Add the gitlab-runner user to the docker group: ` sudo usermod -aG docker gitlab-runner ` 
20-  *  Verify that gitlab-runner has access to Docker: ` sudo -u gitlab-runner -H docker info ` 
19+  *  Add the gitlab-runner user to the docker group: ` $  sudo usermod -aG docker gitlab-runner` 
20+  *  Verify that gitlab-runner has access to Docker: ` $  sudo -u gitlab-runner -H docker info` 
2121 *  In GitLab, to verify that everything works, add docker info to .gitlab-ci.yml: 
2222 *  ` before_script: ` 
2323 *  ` - docker info ` 
@@ -26,4 +26,8 @@ Enable Docker commands in your CI/CD jobs:
2626 *  ` - docker build -t my-docker-image . ` 
2727 *  ` - docker run my-docker-image /script/to/run/tests ` 
2828
29- ### [ Job succeeded. Logs:] ( https://gitlab.com/JavaScriptonit/mynodeapp-cicd-project/-/jobs/3371676279 )  
29+ ### [ Job succeeded. Logs:] ( https://gitlab.com/JavaScriptonit/mynodeapp-cicd-project/-/jobs/3371676279 )  
30+ 
31+ gitlab-runner check: ` $ groups gitlab-runner ` 
32+ *  gitlab-runner : gitlab-runner
33+ *  gitlab-runner : gitlab-runner docker
Original file line number Diff line number Diff line change 1717### Packages & Registries:  
1818*  Package Registry
1919 *  Use GitLab as a private or public registry for variety of supported package managers
20- *  Container Registry
20+ *  [ Container Registry] ( https://gitlab.com/JavaScriptonit/mynodeapp-cicd-project/container_registry ) 
2121 *  Registry to store Docker images
22+  *  Has all microservices on the project
23+  *  Has all tags for each microservice
24+  *  [ Example - microservice/shopping-cart] ( https://gitlab.com/JavaScriptonit/mynodeapp-cicd-project/container_registry/3663922 ) 
2225*  Infrastructure Registry 
2326 *  Private registry for laC packages
                         You can’t perform that action at this time. 
           
                  
0 commit comments