To start the container, run the following command on the folder of Jenkins:
docker-compose up -d
If this is the first time you are starting the container, then you will be prompted to Unlock Jenkins by pasting the initialAdminPassword. To do that, you will need to enter the container:
docker exec -ti jenkins bash
and check the password that was created in the file:
cat /var/jenkins_home/secrets/initialAdminPassword
After that, you can start configuring Jenkins.
To stop Jenkins, simply run the following command on the Jenkins folder:
docker-compose down