Last active
December 11, 2016 17:04
-
-
Save nandotorres/7152b73a33feb4efa55319eeacf08b9a to your computer and use it in GitHub Desktop.
Recipe to install docker and running ToDo App container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execute 'install docker' do | |
command 'curl -sSL https://get.docker.com/ | sh' | |
end | |
execute 'restart docker service' do | |
command 'sudo service docker restart' | |
end | |
execute 'run application container' do | |
command 'docker run -d -p 80:3000 --restart=always nandotorres/mean-todo' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment