Download as PDF, PPTX










![4 Docker makes Chef Recipes SIMPLE and TYPICAL.
docker_image 'kjunine/mongodb' do
tag 'latest'
cmd_timeout 600
action :pull
end
docker_container 'mongod' do
image 'kjunine/mongodb:latest'
container_name 'mongod'
entrypoint 'mongod'
command "--dbpath /data --replSet #{node['mongodb']['replset']}"
detach true
port '27017:27017'
volume '/data'
cmd_timeout 300
action :run
end](https://image.slidesharecdn.com/deployinganapplicationwithchefanddocker-141015211216-conversion-gate02/75/Deploying-an-application-with-Chef-and-Docker-11-2048.jpg)














The document discusses deploying an application using Chef and Docker, highlighting the simplicity Docker brings to Chef recipes. It contrasts the ease of writing Dockerfiles with the complexity of Chef recipes and mentions the orchestration capabilities of both tools. The author expresses a preference for Docker and hopes for CoreOS's success in the evolving landscape.