First, pull the official jenkins image from Docker repository.
Next, run a container using this image and map data directory from the container to the host; e.g in the example below
/var/jenkins_home from the container is mapped to
jenkins/ directory from the current path on the host. Jenkins
8080 port is also exposed to the host as
Addtionally, you can configure nginx as a reverse proxy to your Jenkins instance, e.g.