Dear All,
I am not able to run jenkins inside docker container using ansible playbook. Jenkins is getting started but unable to run it
- name: Download Jenkins Container
docker_container:
name: Jenkins_server
image: jenkins
state: started
ports: - “8080:8080”
- “50000:50000”
command: sleep 1d
volumes: - /data
This is starting the container but not able to run jenkins due to which i am not able to login to jenkins host.
Can anyone guide me what do to ?