Sign inSign up

akshaytu/jenkins2_479_1

By akshaytu

Updated almost 2 years ago

Image
0

808

akshaytu/jenkins2_479_1 repository overview

Pull image

docker pull akshaytu/jenkins2_479_1:latest

Run image

docker run -d -p 2001:8080 <image_id>

(port 2001 is the local port. You can give any port instead of 2001)

Access the jenkins and copy the path of the initial password

  1. Open any browser
  2. Type http://localhost:
  3. Copy the path of the initial password

This will run in detach mode. So for initial password

For getting container id

Run -> docker ps

To access the container

Run --> docker exec -it <container_id> sh

Get initial password. Run below command inside the container

Run --> cd ..

Run --> cat /root/.jenkins/secrets/initialAdminPassword

Tag summary

Content type

Image

Digest

sha256:fd74b598c

Size

170.5 MB

Last updated

almost 2 years ago

docker pull akshaytu/jenkins2_479_1