Share your Shiny Apps with Docker and Kitematic!

(This article was first published on Flavio Barros » r-bloggers, and kindly contributed to R-bloggers)

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:

Dockerizing a Shiny App

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.

To leave a comment for the author, please follow the link and comment on their blog: Flavio Barros » r-bloggers.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)