Reputation: 188
I have a dockerfile to install jenkins and its dependencies in the container. Can anyone suggest how should a dockerfile be build to create a docker image and create container of it? I have checked this link https://docs.docker.com/engine/admin/chef/#requirements but that's no good as they are using docker image from docker hub.
Upvotes: 0
Views: 360
Reputation: 54249
If the image will always exist locally then you can just skip the docker_image
resource and use it directly. But this is unlikely to be the case if you have more than one server.
Upvotes: 1