Here are the steps to get Jenkins up and running using Docker and Containerlab.
- Open up your Kali or Linux distro
- Create a containerlab file
- Open the .yml file and add the following code
For some reason I had to restart the Docker service.
- Start containerlab using the yml file we just created
# | Name | Container ID | Image | IPv4 Address |
---|
1 | clab-cicd_topo-jenkins | 977474949fd1 | jenkins/jenkins | 172.20.20.2/24 |
When I navigate to http://localhost:8080/ I get the following message.
- Let’s shell into the docker image and get that password.
I then clicked the Start using Jenkins button as shown above and we are in!