Skip to content

PhilipFaure/shiny-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shiny-docker Example:

This is an example to build a Shiny app and wrap it in a Docker image. The repo can be cloned and the shiny app adapted as necessary.

Build docker image:

docker build -t shiny-docker-image .

Run Shiny app:

docker run -p 3838:3838 -v "C:\Users\Vulpe\Documents\GitHub\shiny-docker\app\www\videos:/videos" shiny-docker-image

Now visit: http://localhost:3838/app

Share Image:

Option 1 - export and send

docker save shiny-docker-image > shiny-docker-image.tar

Now send tar file to someone

Then load with:

docker load < shiny-docker-image.tar

Option 2 - Push to Docker Hub

Tag and push (requires Docker Hub account)

docker login
docker tag shiny-docker-image tierboskat/shiny-docker-image
docker push tierboskat/shiny-docker-image

The run with:

docker run -p 3838:3838 tierboskat/shiny-docker-image

About

Example of containerized shiny app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages