Skip to content

Commit 3cf0bd7

Browse files
25.11 update lesson-5.md
1 parent fdf6b6b commit 3cf0bd7

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

Course/AWS/ec2-runner-errors/permission-denied.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff 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

Course/lesson-5.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
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

0 commit comments

Comments
 (0)