Adding Try in PWD button to README file

Adding Try in PWD button to README file

September 10, 2019 , by Jinna

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/images/button.png)](http://play-with-docker.com?stack=https://<my_stack_url>)
  • Example to run wordpress as a container with the follwoing

This is how the script looks like

[![Try in PWD](https://cdn.rawgit.com/play-with-docker/stacks/cff22438/assets/images/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