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

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

问题描述

好吧,我是 Docker 的新手,我需要在 Docker 容器中实现一个闪亮的应用程序.

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 摇杆/闪亮

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/)

Docker 文件:FROM 摇杆/闪亮:最新

Dockerfile: FROM rocker/shiny:latest

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

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