Adding Try in PWD button to README file


Adding Try in PWD button to README file

Adding Try in PWD button to README file

The “Try in PWD” actually supports to deploy any stack file that’s available on the web. In the stack parameter you can either add a relative path of a stack in the stacks repo or a URL.

Create the button with the following script

[![Try in PWD](https://cdn.rawgit.com/play-with-docker/stacks/cff22438/assets/img/button.png)](http://play-with-docker.com?stack=https://<my_stack_url>)
  • Example to run wordpress as a container with the following

This is how the script looks like

[![Try in PWD](https://cdn.rawgit.com/play-with-docker/stacks/cff22438/assets/img/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/JinnaBalu/wordpress/master/docker-compose-wordpress-mysql.yml) 

This is how the button look like

Try in PWD

Additionally we wanted to have everything in one place (button + stacks) so users can click on the button and go to the Play with Docker

comments powered by Disqus