Share your Shiny Apps with Docker and Kitematic!
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Some time ago i wrote on this blog about how to dockerize a Shiny App. If you don’t know what Docker is and what i mean by “dockerizing a Shiny App” i advise you to read this post before:
I used this solution to create an easy way to deploy Shiny Apps on web servers, once that, if you want to share your apps, you have to choose between three possible solutions:
1) Share your ui.R and server.R files with someone who is able to run your app on RStudio.
2) Share your app online with shinyapps.io.
3) Share your app with your own server (Ex: at AWS).
4) Git push you app on your own server.
The solution 1) isn’t viable to non technical users. The solution 2) is easier, but can be expensive. The solution 3) can involve a lot of technicalities but can be cheaper then solution 3). The solution 4) is compromise between solutions 2) and 3), and is my preference.
HOWEVER, recently i knew about a project from Docker Inc. with a good potential: the Kitematic! With Kitematic the user can have a GUI where he can download and use softwares on Docker images. So, the Docker Hub becomes something like an App Store where he can simply download and use apps installed inside docker containers. See this video to understand what Kitematic can do:
This is Huge because, once you dockerize your Shiny App, doesn’t matter how complex it is, you can share it on Docker Hub just like any app. Kitematic can be used at Windows, Mac and experimentaly on Linux. I recorded this video (in Linux) to show you how to install my dockerized shiny app with some clicks:
Remember, before you share your app you will need to dockerize it and upload to Docker Hub.
The post Share your Shiny Apps with Docker and Kitematic! appeared first on Flavio Barros.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.