a docker-compose to use jenkins
use docker-compose up --build to make the container up and use the jenkins
you should go to your container with this command docker exec -it jenkins bash you can run some commands in your container
to see the password of your jenkins you should see the file that show its directory in you jenkins main page and enter the password in your jenkins page and then you can see the page to set name and password and others