docker.io/rocker/rstudio:latest linux/amd64

docker.io/rocker/rstudio:latest - 国内下载镜像源 浏览次数:39

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

```html

这是一个用于运行RStudio Server的Docker镜像。RStudio Server是一个用于R编程语言的集成开发环境(IDE),允许用户在浏览器中编写、运行和调试R代码。

该镜像由Rocker项目提供,Rocker项目致力于创建用于统计计算和数据科学的Docker镜像。 它预装了R以及RStudio Server,方便用户快速搭建R编程环境。

```
源镜像 docker.io/rocker/rstudio:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rocker/rstudio:latest
镜像ID sha256:b524139b12efc6b4462bf8f000cd33c7ff0a429762b3e4b981474a4b3af3942d
镜像TAG latest
大小 2.36GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /init
启动入口
工作目录
OS/平台 linux/amd64
浏览量 39 次
贡献者
镜像创建 2025-02-28T14:59:10.768485412Z
同步时间 2025-03-20 17:20
更新时间 2025-04-03 19:29
开放端口
8787/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin R_VERSION=4.4.3 R_HOME=/usr/local/lib/R TZ=Etc/UTC CRAN=https://p3m.dev/cran/__linux__/noble/latest LANG=en_US.UTF-8 S6_VERSION=v2.1.0.2 RSTUDIO_VERSION=2024.12.1+563 DEFAULT_USER=rstudio
镜像标签
Carl Boettiger <cboettig@ropensci.org>: org.opencontainers.image.authors docker.io/library/ubuntu:noble: org.opencontainers.image.base.name RStudio Server with fixed version of R: org.opencontainers.image.description GPL-2.0-or-later: org.opencontainers.image.licenses ubuntu: org.opencontainers.image.ref.name 26ca778d654c29084430c17996f177694e5ff50d: org.opencontainers.image.revision https://github.com/rocker-org/rocker-versioned2: org.opencontainers.image.source rocker/rstudio: org.opencontainers.image.title Rocker Project: org.opencontainers.image.vendor R-4.4.3: org.opencontainers.image.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rocker/rstudio:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rocker/rstudio:latest  docker.io/rocker/rstudio:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rocker/rstudio:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rocker/rstudio:latest  docker.io/rocker/rstudio:latest

Shell快速替换命令

sed -i 's#rocker/rstudio:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rocker/rstudio:latest#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rocker/rstudio:latest && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rocker/rstudio:latest  docker.io/rocker/rstudio:latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rocker/rstudio:latest && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rocker/rstudio:latest  docker.io/rocker/rstudio:latest'

镜像构建历史


# 2025-02-28 22:59:10  50.19KB 复制新文件或目录到容器中
COPY scripts /rocker_scripts # buildkit
                        
# 2025-02-28 22:59:10  1.11MB 执行命令并创建新的镜像层
RUN /bin/sh -c /rocker_scripts/install_quarto.sh # buildkit
                        
# 2025-02-28 22:59:08  2.49KB 复制新文件或目录到容器中
COPY scripts/install_quarto.sh /rocker_scripts/install_quarto.sh # buildkit
                        
# 2025-02-28 22:59:08  153.98MB 执行命令并创建新的镜像层
RUN /bin/sh -c /rocker_scripts/install_pandoc.sh # buildkit
                        
# 2025-02-28 22:59:06  3.35KB 复制新文件或目录到容器中
COPY scripts/install_pandoc.sh /rocker_scripts/install_pandoc.sh # buildkit
                        
# 2025-02-28 22:59:06  0.00B 设置默认要执行的命令
CMD ["/init"]
                        
# 2025-02-28 22:59:06  0.00B 声明容器运行时监听的端口
EXPOSE map[8787/tcp:{}]
                        
# 2025-02-28 22:59:06  1.25GB 执行命令并创建新的镜像层
RUN /bin/sh -c /rocker_scripts/install_rstudio.sh # buildkit
                        
# 2025-02-28 22:58:38  297.00B 复制新文件或目录到容器中
COPY scripts/pam-helper.sh /rocker_scripts/pam-helper.sh # buildkit
                        
# 2025-02-28 22:58:38  8.00KB 复制新文件或目录到容器中
COPY scripts/init_userconf.sh /rocker_scripts/init_userconf.sh # buildkit
                        
# 2025-02-28 22:58:38  614.00B 复制新文件或目录到容器中
COPY scripts/init_set_env.sh /rocker_scripts/init_set_env.sh # buildkit
                        
# 2025-02-28 22:58:38  1.14KB 复制新文件或目录到容器中
COPY scripts/default_user.sh /rocker_scripts/default_user.sh # buildkit
                        
# 2025-02-28 22:58:38  1.19KB 复制新文件或目录到容器中
COPY scripts/install_s6init.sh /rocker_scripts/install_s6init.sh # buildkit
                        
# 2025-02-28 22:58:38  4.36KB 复制新文件或目录到容器中
COPY scripts/install_rstudio.sh /rocker_scripts/install_rstudio.sh # buildkit
                        
# 2025-02-28 18:20:52  0.00B 设置环境变量 DEFAULT_USER
ENV DEFAULT_USER=rstudio
                        
# 2025-02-28 18:20:52  0.00B 设置环境变量 RSTUDIO_VERSION
ENV RSTUDIO_VERSION=2024.12.1+563
                        
# 2025-02-28 18:20:52  0.00B 设置环境变量 S6_VERSION
ENV S6_VERSION=v2.1.0.2
                        
# 2025-02-28 18:20:52  109.01MB 执行命令并创建新的镜像层
RUN /bin/sh -c if grep -q "1000" /etc/passwd; then
    userdel --remove "$(id -un 1000)";
fi
/rocker_scripts/setup_R.sh
 # buildkit
                        
# 2025-02-28 18:20:34  3.23KB 复制新文件或目录到容器中
COPY scripts/setup_R.sh /rocker_scripts/setup_R.sh # buildkit
                        
# 2025-02-28 18:20:34  6.96KB 复制新文件或目录到容器中
COPY scripts/bin/ /rocker_scripts/bin/ # buildkit
                        
# 2025-02-28 18:20:34  0.00B 设置环境变量 LANG
ENV LANG=en_US.UTF-8
                        
# 2025-02-28 18:20:34  0.00B 设置环境变量 CRAN
ENV CRAN=https://p3m.dev/cran/__linux__/noble/latest
                        
# 2025-02-28 18:20:34  768.91MB 执行命令并创建新的镜像层
RUN /bin/sh -c /rocker_scripts/install_R_source.sh # buildkit
                        
# 2025-02-14 18:16:23  4.19KB 复制新文件或目录到容器中
COPY scripts/install_R_source.sh /rocker_scripts/install_R_source.sh # buildkit
                        
# 2025-02-14 18:16:23  0.00B 设置环境变量 TZ
ENV TZ=Etc/UTC
                        
# 2025-02-14 18:16:23  0.00B 设置环境变量 R_HOME
ENV R_HOME=/usr/local/lib/R
                        
# 2025-02-14 18:16:23  0.00B 设置环境变量 R_VERSION
ENV R_VERSION=4.4.3
                        
# 2025-01-27 12:14:03  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2025-01-27 12:14:03  78.13MB 
/bin/sh -c #(nop) ADD file:6df775300d76441aa33f31b22c1afce8dfe35c8ffbc14ef27c27009235b12a95 in / 
                        
# 2025-01-27 12:14:00  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=24.04
                        
# 2025-01-27 12:14:00  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2025-01-27 12:14:00  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2025-01-27 12:14:00  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:b524139b12efc6b4462bf8f000cd33c7ff0a429762b3e4b981474a4b3af3942d",
    "RepoTags": [
        "rocker/rstudio:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rocker/rstudio:latest"
    ],
    "RepoDigests": [
        "rocker/rstudio@sha256:85e84d206368208675350d8740725d8642662120cea847ccf41e24c6ad278459",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/rocker/rstudio@sha256:da8be0efebf6f08d164ae7f169285f6d96924e3d4f6d5a57b194acd7d2b698ba"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-02-28T14:59:10.768485412Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "8787/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "R_VERSION=4.4.3",
            "R_HOME=/usr/local/lib/R",
            "TZ=Etc/UTC",
            "CRAN=https://p3m.dev/cran/__linux__/noble/latest",
            "LANG=en_US.UTF-8",
            "S6_VERSION=v2.1.0.2",
            "RSTUDIO_VERSION=2024.12.1+563",
            "DEFAULT_USER=rstudio"
        ],
        "Cmd": [
            "/init"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.authors": "Carl Boettiger \u003ccboettig@ropensci.org\u003e",
            "org.opencontainers.image.base.name": "docker.io/library/ubuntu:noble",
            "org.opencontainers.image.description": "RStudio Server with fixed version of R",
            "org.opencontainers.image.licenses": "GPL-2.0-or-later",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.revision": "26ca778d654c29084430c17996f177694e5ff50d",
            "org.opencontainers.image.source": "https://github.com/rocker-org/rocker-versioned2",
            "org.opencontainers.image.title": "rocker/rstudio",
            "org.opencontainers.image.vendor": "Rocker Project",
            "org.opencontainers.image.version": "R-4.4.3"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 2359485184,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/142d7928796ebf4f48c7b150869f6c0ada19c6b5306a37fc6b39768a83a83c44/diff:/var/lib/docker/overlay2/c4e38c122e742ee600d7b32f3f55b8192e93387f275143788818658069bb84c2/diff:/var/lib/docker/overlay2/1ab490af1988ed528d0addb4e0dcba77e3a3395c478f1576b361d6ed68d43e3c/diff:/var/lib/docker/overlay2/2994d9e04edff791c9d63fa64d96b1bd5e144d2ff912df8e7dd34e2c147cdc4e/diff:/var/lib/docker/overlay2/6c27b51cf4af96a450378ea55dc7f8225e99eb9a2b74d71473d81fdcd9e50810/diff:/var/lib/docker/overlay2/c1e05789ed8c2a43c47f670ac1121379a99ebb6af55edd64a4a3a612cb628019/diff:/var/lib/docker/overlay2/ba3a71a90d814f839cd141426e9399c4d5c46faf13b42c7ce159382512c0352a/diff:/var/lib/docker/overlay2/025db63beb6b3d0b5cde19390861fe4b6c970383cfb4a706fec595bc041b2e40/diff:/var/lib/docker/overlay2/ecd4a7a08cfbcc5d5bf73dea66d0acecda84ce2dcb56e5600590ad38c1fda3d3/diff:/var/lib/docker/overlay2/b8b58e4e503719140be3229e88cb4d56e6ed93b402170b72e200c697247b2090/diff:/var/lib/docker/overlay2/268659403e8c890bc1bdc23db1219a52d3c3d559e8aab8f53ef7bd973df7227c/diff:/var/lib/docker/overlay2/b3bb16ef6a9d4aad33a15be8d8b179e8163d5b3f2e19978ce7494d0dc923d1d0/diff:/var/lib/docker/overlay2/c574d8cda2492499323fa76ed983ad286ff82b53dce83f6ec287b6e9a951e474/diff:/var/lib/docker/overlay2/172db872aab0a296c39543e9778d3ffc862e3fb0949cb8b800cd422f924265bd/diff:/var/lib/docker/overlay2/07cdae97b78b623eaf9e951fe5b33f1d35d06e31f2457a711f2ada678a3e54b5/diff:/var/lib/docker/overlay2/529763b5e74522207c40d8f0652bc9a7b232c22b9acfc9379001f53a0175b05e/diff:/var/lib/docker/overlay2/d5ba5778451cb9d6cd53a762324cbf17a65345e17306b42b60d69ba8f9186927/diff",
            "MergedDir": "/var/lib/docker/overlay2/e76d367be915a31292722ca4f5d5ae171ee081ae11f778a58dae862108067e07/merged",
            "UpperDir": "/var/lib/docker/overlay2/e76d367be915a31292722ca4f5d5ae171ee081ae11f778a58dae862108067e07/diff",
            "WorkDir": "/var/lib/docker/overlay2/e76d367be915a31292722ca4f5d5ae171ee081ae11f778a58dae862108067e07/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:4b7c01ed0534d4f9be9cf97d068da1598c6c20b26cb6134fad066defdb6d541d",
            "sha256:683e1d65c83e3dacd4498d932af9f45d2181ef6405953f9d2961e26e87a61986",
            "sha256:383456e6c0a6c91448d4cfe99d4d034a30905380eb4c6de198228302e341fc18",
            "sha256:fb13d3e88ec6504073125e919b846ee45769a56382af22a3cc55d927e1f25e97",
            "sha256:fd13f55914f238cba02848f8b7f889ca5445ce872069f18ac885eb7704944a1c",
            "sha256:eeef0f5fff72db76714e03141ed1c7ca63dae48ae0bdaf9ab180c1409afe4c10",
            "sha256:84dea26b5272aa05bc40deb043ebb2198f28efcc89e2fc031b1b63d8961e1f36",
            "sha256:6c6d49446301ff848ab7b4a277dd65091f062ecab66fc20662cc9773bc86190f",
            "sha256:1f0fd02629c261527cefabe7ceec0b62218bfcf8055f3c0e6056d6eb6d7add45",
            "sha256:36688d54eb00d1bcdcb1881c1cf2090bec07f42c2f9dab4b7f2a9dd7921a9de4",
            "sha256:87005ae5cea1b2318e2db789812456cd6c6b98cd980c1aac21474fed25e3115a",
            "sha256:8892e3e8afd91e326407eee64792ab83251fda34071d9043350c2867a425b310",
            "sha256:95225d3a4c6658cd5afa4fd87cd38e05d7a598a92834ae5b1235e78c3d704da7",
            "sha256:396b05ccbbe22b4bca9aeabf8f2024d25f61921f302326d50bbe380a1387cbbc",
            "sha256:2d3a3f088624f4f72f4336c3c57eb256d2454d23b74d4e52324bdbd9240b1c5f",
            "sha256:1622b00d16ac8dd452cce6bb0732e3b015bbd15f540442ceb325d442c7b7e567",
            "sha256:a110b476dbc1f63b4e863c6518da8adf3ed24682a7e0cd941197d34edca0b781",
            "sha256:8a019eeb997d0724bdf85f3a23528c4c79889439a3d674cf53fdc3ba5d55557c"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-03-20T17:19:08.72016226+08:00"
    }
}

更多版本

docker.io/rocker/rstudio:latest

linux/amd64 docker.io2.36GB2025-03-20 17:20
38