ghcr.io/stackhpc/slurm-docker-cluster:1f51003 linux/amd64

ghcr.io/stackhpc/slurm-docker-cluster:1f51003 - 国内下载镜像源 浏览次数:35

ghcr.io/stackhpc/slurm-docker-cluster

这是一个基于 Docker 的 Slurm 集群镜像。它提供了一个预先配置好的 Slurm 环境,可以方便地在 Docker 容器中部署和管理高性能计算 (HPC) 集群。

该镜像包含以下组件:

  • Slurm 工作管理器和调度器
  • OpenMPI 并行通信库
  • 常用的 HPC 工具和软件

使用该镜像可以轻松地创建和运行 Slurm 集群,并使用 Docker 的优势来简化部署和管理。

源镜像 ghcr.io/stackhpc/slurm-docker-cluster:1f51003
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/stackhpc/slurm-docker-cluster:1f51003
镜像ID sha256:b4271c47ae841d0d8a6b1a07785760e946e368bf113cdb78fd04e644f6114588
镜像TAG 1f51003
大小 2.00GB
镜像源 ghcr.io
CMD slurmdbd
启动入口 /usr/local/bin/docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 35 次
贡献者
镜像创建 2023-08-18T12:36:06.851275221Z
同步时间 2024-10-29 18:10
更新时间 2024-11-22 07:15
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
镜像标签
StackHPC: maintainer docker-compose up -d: org.label-schema.docker.cmd 2023-08-18T12:35:25.689Z: org.opencontainers.image.created A Slurm cluster using docker-compose: org.opencontainers.image.description MIT: org.opencontainers.image.licenses 1f51003f9977628c88556a9975370201396f2419: org.opencontainers.image.revision https://github.com/stackhpc/slurm-docker-cluster: org.opencontainers.image.source slurm-docker-cluster: org.opencontainers.image.title https://github.com/stackhpc/slurm-docker-cluster: org.opencontainers.image.url hook-race-fix: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: rocky 8.8 扫描引擎: Trivy 扫描时间: 2024-10-29 18:11

低危漏洞:20 中危漏洞:212 高危漏洞:367 严重漏洞:9

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/stackhpc/slurm-docker-cluster:1f51003
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/stackhpc/slurm-docker-cluster:1f51003  ghcr.io/stackhpc/slurm-docker-cluster:1f51003

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/stackhpc/slurm-docker-cluster:1f51003
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/stackhpc/slurm-docker-cluster:1f51003  ghcr.io/stackhpc/slurm-docker-cluster:1f51003

Shell快速替换命令

sed -i 's#ghcr.io/stackhpc/slurm-docker-cluster:1f51003#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/stackhpc/slurm-docker-cluster:1f51003#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/stackhpc/slurm-docker-cluster:1f51003 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/stackhpc/slurm-docker-cluster:1f51003  ghcr.io/stackhpc/slurm-docker-cluster:1f51003'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/stackhpc/slurm-docker-cluster:1f51003 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/stackhpc/slurm-docker-cluster:1f51003  ghcr.io/stackhpc/slurm-docker-cluster:1f51003'

镜像历史

大小 创建时间 层信息
0.00B 2023-08-18 20:36:06 CMD ["slurmdbd"]
0.00B 2023-08-18 20:36:06 ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
4.94KB 2023-08-18 20:36:06 COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh # buildkit
0.00B 2023-08-16 19:54:10 VOLUME [/etc/slurm]
298.54KB 2023-08-16 19:54:10 RUN |2 SLURM_TAG=slurm-23.02 GOSU_VERSION=1.11 /bin/sh -c mkdir /etc/sysconfig/slurm /var/spool/slurmd /var/run/slurmd /var/run/slurmdbd /var/lib/slurmd /var/log/slurm /data /etc/slurm && touch /var/lib/slurmd/node_state /var/lib/slurmd/front_end_state /var/lib/slurmd/job_state /var/lib/slurmd/resv_state /var/lib/slurmd/trigger_state /var/lib/slurmd/assoc_mgr_state /var/lib/slurmd/assoc_usage /var/lib/slurmd/qos_usage /var/lib/slurmd/fed_mgr_state && useradd -r --uid=990 slurm && chown -R slurm:slurm /var/*/slurm* && useradd -u 1000 rocky && usermod -p '*' rocky # unlocks account but sets no password # buildkit
426.48MB 2023-08-16 19:54:10 RUN |2 SLURM_TAG=slurm-23.02 GOSU_VERSION=1.11 /bin/sh -c set -x && git clone -b ${SLURM_TAG} --single-branch --depth=1 https://github.com/SchedMD/slurm.git && pushd slurm && ./configure --enable-debug --prefix=/usr --sysconfdir=/etc/slurm --with-mysql_config=/usr/bin --libdir=/usr/lib64 && make install && install -D -m644 contribs/slurm_completion_help/slurm_completion.sh /etc/profile.d/slurm_completion.sh && popd && rm -rf slurm # buildkit
2.30MB 2023-08-16 19:48:39 RUN |2 SLURM_TAG=slurm-23.02 GOSU_VERSION=1.11 /bin/sh -c set -ex && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-amd64" && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-amd64.asc" && export GNUPGHOME="$(mktemp -d)" && gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu && rm -rf "${GNUPGHOME}" /usr/local/bin/gosu.asc && chmod +x /usr/local/bin/gosu && gosu nobody true # buildkit
9.90MB 2023-08-16 19:48:36 RUN |2 SLURM_TAG=slurm-23.02 GOSU_VERSION=1.11 /bin/sh -c pip3 install Cython nose # buildkit
440.00B 2023-08-16 19:48:33 RUN |2 SLURM_TAG=slurm-23.02 GOSU_VERSION=1.11 /bin/sh -c alternatives --set python /usr/bin/python3 # buildkit
1.37GB 2023-08-16 19:48:33 RUN |2 SLURM_TAG=slurm-23.02 GOSU_VERSION=1.11 /bin/sh -c set -ex && yum makecache && yum -y update && yum -y install dnf-plugins-core epel-release && yum -y install dnf-plugins-core && yum config-manager --set-enabled powertools && yum -y module enable ruby:2.7 nodejs:14 && yum -y install https://yum.osc.edu/ondemand/2.0/ondemand-release-web-2.0-1.noarch.rpm && yum -y module install ruby nodejs && yum -y install wget bzip2 perl gcc gcc-c++ git gnupg make munge munge-devel python3-devel python3-pip python3 mariadb-server mariadb-devel psmisc bash-completion vim-enhanced http-parser-devel json-c-devel mpitests-openmpi pmix-devel hwloc hwloc-devel openssh-server apptainer ondemand kubectl && yum clean all && rm -rf /var/cache/yum # buildkit
250.00B 2023-08-16 19:45:15 COPY kubernetes.repo /etc/yum.repos.d/kubernetes.repo # buildkit
0.00B 2023-08-16 19:45:15 ARG GOSU_VERSION=1.11
0.00B 2023-08-16 19:45:15 ARG SLURM_TAG=slurm-23.02
0.00B 2023-08-16 19:45:15 LABEL org.opencontainers.image.source=https://github.com/stackhpc/slurm-docker-cluster org.opencontainers.image.title=slurm-docker-cluster org.opencontainers.image.description=Slurm Docker cluster on Rocky Linux 8 org.label-schema.docker.cmd=docker-compose up -d maintainer=StackHPC
0.00B 2023-05-27 07:14:43 /bin/sh -c #(nop) CMD ["/bin/bash"]
197.22MB 2023-05-27 07:14:42 /bin/sh -c #(nop) ADD file:cc0ae40cd6b31cb4016f56b3964e881e517d054c9674ad0dc1b782e3b0815285 in /

镜像信息

{
    "Id": "sha256:b4271c47ae841d0d8a6b1a07785760e946e368bf113cdb78fd04e644f6114588",
    "RepoTags": [
        "ghcr.io/stackhpc/slurm-docker-cluster:1f51003",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/stackhpc/slurm-docker-cluster:1f51003"
    ],
    "RepoDigests": [
        "ghcr.io/stackhpc/slurm-docker-cluster@sha256:f74ac35cf7f35039df87cfc5eddbfa16179926588eec972216b0054410ef0c65",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/stackhpc/slurm-docker-cluster@sha256:6e18fa6e96044403f8a3192824889bb605765b8e10a941c5d233a07540aa3361"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-08-18T12:36:06.851275221Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        ],
        "Cmd": [
            "slurmdbd"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/etc/slurm": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "/usr/local/bin/docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "maintainer": "StackHPC",
            "org.label-schema.docker.cmd": "docker-compose up -d",
            "org.opencontainers.image.created": "2023-08-18T12:35:25.689Z",
            "org.opencontainers.image.description": "A Slurm cluster using docker-compose",
            "org.opencontainers.image.licenses": "MIT",
            "org.opencontainers.image.revision": "1f51003f9977628c88556a9975370201396f2419",
            "org.opencontainers.image.source": "https://github.com/stackhpc/slurm-docker-cluster",
            "org.opencontainers.image.title": "slurm-docker-cluster",
            "org.opencontainers.image.url": "https://github.com/stackhpc/slurm-docker-cluster",
            "org.opencontainers.image.version": "hook-race-fix"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 2003236347,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/ce23c8f1f1b82c2e6c27afaece601195c82e751b92dc3d1330726a34efe41755/diff:/var/lib/docker/overlay2/706cb5e6a56163f5109d0640a4e8c0d4886df06c2cfb2b41c06a120ca03e9bc1/diff:/var/lib/docker/overlay2/f55616ba36a78c4a9349e48e827baff386e83d7dd76d5bb3a2c489f077a5646d/diff:/var/lib/docker/overlay2/01bcf750867b03617049ab0ee5193c5b9f258d8ff5081fb9d4b36963a2127015/diff:/var/lib/docker/overlay2/fedbcf979ce885b52dcb42d1491553968f24b49b9ee127fb52ec404426a11292/diff:/var/lib/docker/overlay2/224af9b8f1da9bdf90883cfc81f6ed005b2b83814c32eedede33d5c2400e1a7f/diff:/var/lib/docker/overlay2/46b2f1bb4cd411bf823cf7ff557baec8d5a7ec1c8e3237fac5b0bf09f26822ca/diff:/var/lib/docker/overlay2/b1067c458fae679e9f5cd7076073b91e4102e3e6eb63147463114a182df6c5ab/diff",
            "MergedDir": "/var/lib/docker/overlay2/161229d6e6d826ed9cf416b8a7a71911d0900f417dae0556e6892f98bfaf4a17/merged",
            "UpperDir": "/var/lib/docker/overlay2/161229d6e6d826ed9cf416b8a7a71911d0900f417dae0556e6892f98bfaf4a17/diff",
            "WorkDir": "/var/lib/docker/overlay2/161229d6e6d826ed9cf416b8a7a71911d0900f417dae0556e6892f98bfaf4a17/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:964fc91a3863b6ffb1c39ac4ebb910c52f6feaedbd961503b6ddb6fade3f2423",
            "sha256:7ae527557bfba1ba3a2b5091739525a389411a26af791c1e620a4b015a272b7f",
            "sha256:c711002a6d621d28f11bb1a31a06ae5528af801a25cf70e0e54aa9ad5bc39e42",
            "sha256:894cf3915974da0e0c29967f33a4ed71e12e4c69e5468008a0096f8466240672",
            "sha256:c032e49e23e61e0fc26196e829c4e38876f2552b0aad8371140255f08c0e0692",
            "sha256:fff13ef8470122272082252935456030cbf2e70d4a69bc659e7f5f2abab074ce",
            "sha256:23788c41e7f66d9a57cf2804c5b3f7ac9858a5edd717bb028fb98b9d97e1fd4e",
            "sha256:dd9b9d4b109e89955e2b8c1b1025bc855980f714c1e21d73cbdb5df67c22a8b0",
            "sha256:17bd46d8b863e3a95bf4305124d5fd6d7efdf94808f0f1663963ef59897db39d"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-29T18:08:33.339358726+08:00"
    }
}

更多版本

ghcr.io/stackhpc/slurm-docker-cluster:1f51003

linux/amd64 ghcr.io2.00GB2024-10-29 18:10
34