To build a docker container in Jenkins. Jenkins build it based on a Dockerfile which you can use Docker plugin for Jenkins to build the containers.
Detailed steps are as follows:-
If you want to learn both Jenkins and Docker then I would suggest you must take up the following DevOps training Course. I am also mentioning the video tutorial of Jenkins and Docker which you can watch to clear all your doubts.