在Rocker / Shiny Docker中部署闪亮的应用程序 [英] Deploy shiny app in rocker/shiny docker

查看:119
本文介绍了在Rocker / Shiny Docker中部署闪亮的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我是 Docker 的新手,我需要在Docker容器中实现Shiny应用。

Well, I'm new at Docker and I need to implement a Shiny app in a Docker Container.

我的图片来自 https://hub.docker.com/r/rocker/shiny / ,其中包括 Shiny Server ,但我不知道如何在服务器中部署我的应用程序。

I have the image from https://hub.docker.com/r/rocker/shiny/, that includes Shiny Server, but I don't know how to deploy my app in the server.

我想在服务器中部署应用程序,将应用程序所需的软件包安装到Docker中,保存更改并导出映像/容器。

I want to deploy the app in the server, install the required packages for my app into the Docker, save the changes and export the image/container.

如我所说,我是 Docker 的新手,我不知道它的真正工作原理。

As I said, I'm new at Docker and I don't know how it really works.

任何

推荐答案

链接( https://hub.docker.com/r/rocker/shiny/ )介绍了如何部署闪亮的服务器。
最简单的方法是:
docker run --rm -p 3838:3838 rocker / shiny

The link(https://hub.docker.com/r/rocker/shiny/) covers how to deploy the shiny server. Simplest way would be: docker run --rm -p 3838:3838 rocker/shiny

如果要扩展闪亮的服务器,您可以可以编写您自己的Dockerfile,并以闪亮的图像作为基础图像。( https:// docs。 docker.com/engine/reference/builder/

If you want to extend shiny server, you can write your own Dockerfile and start with shiny image as base image.(https://docs.docker.com/engine/reference/builder/)

Dockerfile:
FROM rocker / shiny:latest

Dockerfile: FROM rocker/shiny:latest

这篇关于在Rocker / Shiny Docker中部署闪亮的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆