Skip to content

Commit c1c3e08

Browse files
Added tutorial to install Jenkins
1 parent ddeeb51 commit c1c3e08

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

docs/devops/ReadMe.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,22 @@ docker run \
6565
- Once you have run the container, please note that you have your jenkins files available in a docker volume. So, run the following commands to realize the same:
6666
````shell
6767
docker volume list
68-
````
68+
````
69+
- Now that you have the container active, run:
70+
`````shell
71+
docker ps -a
72+
````
73+
74+
- Get the initial password:
75+
````shell
76+
docker exec <container_name_or_id> cat /var/jenkins_home/secrets/initialAdminPassword
77+
````
78+
79+
::: Tip to run bash commands inside your container
80+
docker exec -it <container_name_or_id> bash
81+
:::
82+
83+
84+
::: Warning
85+
Simply removing the container and images does not remove the volume
86+
:::

0 commit comments

Comments
 (0)