logo
docker.io/library/swift:6.3.2-rhel-ubi9
linux/amd64 docker.io 已验证 · Docker zoe的彭于晏 贡献

docker.io/library/swift镜像是官方提供的Swift编程语言的运行环境与开发工具镜像,包含Swift编译器、标准库及相关开发依赖,支持多种操作系统架构,可用于在容器化环境中构建、测试和运行Swift应用程序,方便开发者进行Swift项目的开发与部署。

12
浏览次数
4.01GB
镜像大小
源镜像
docker.io/library/swift:6.3.2-rhel-ubi9
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/swift:6.3.2-rhel-ubi9
镜像ID
sha256:aee55702e78457e15a69c532935e9d507b0fe1c806f7c9b292d8bfcabff09c7c
镜像 TAG
6.3.2-rhel-ubi9
镜像大小
4.01GB
平台架构
linux/amd64
镜像源
docker.io
CMD
/bin/bash
启动入口
工作目录
/
OS/平台
linux/amd64
镜像创建
2026-06-25T23:29:20.227826309Z
同步时间
2026-06-29 18:19
浏览量
12 次
贡献者
avatar zoe的彭于晏
⚙️ 环境变量 7
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
container=oci 1
SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F 2
SWIFT_PLATFORM=ubi9 3
SWIFT_BRANCH=swift-6.3.2-release 4
SWIFT_VERSION=swift-6.3.2-RELEASE 5
SWIFT_WEBROOT=https://download.swift.org 6
🏷️ 镜像标签 23
KeyValue
x86_64 architecture
2026-06-25T05:38:13Z build-date
ubi9-container com.redhat.component
https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI com.redhat.license_terms
cpe:/a:redhat:enterprise_linux:9::appstream cpe
Docker Container for the Swift programming language description
public distribution-scope
1.44.0 io.buildah.version
The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly. io.k8s.description
Red Hat Universal Base Image 9 io.k8s.display-name
io.openshift.expose-services
base rhel9 io.openshift.tags
Swift Infrastructure <swift-infrastructure@forums.swift.org> maintainer
ubi9/ubi name
2026-06-25T05:38:13Z org.opencontainers.image.created
5f0052ae5ad6e692325f20b47f9a15830ba43ef2 org.opencontainers.image.revision
1782365825 release
Provides the latest release of Red Hat Universal Base Image 9. summary
https://catalog.redhat.com/en/search?searchType=containers url
5f0052ae5ad6e692325f20b47f9a15830ba43ef2 vcs-ref
git vcs-type
Red Hat, Inc. vendor
9.8 version
🛡️ 镜像安全扫描
redhat 9.8 Trivy 2026-06-29 18:20 查看完整报告
1635
低危 LOW
2862
中危 MEDIUM
97
高危 HIGH
0
严重 CRITICAL
受影响目标 (1)
docker.io/library/swift:6.3.2-rhel-ubi9 (redhat 9.8) redhat

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/swift:6.3.2-rhel-ubi9
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/swift:6.3.2-rhel-ubi9  docker.io/library/swift:6.3.2-rhel-ubi9

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/swift:6.3.2-rhel-ubi9
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/swift:6.3.2-rhel-ubi9  docker.io/library/swift:6.3.2-rhel-ubi9

Shell快速替换命令

sed -i 's#library/swift:6.3.2-rhel-ubi9#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/swift:6.3.2-rhel-ubi9#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/swift:6.3.2-rhel-ubi9 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/swift:6.3.2-rhel-ubi9  docker.io/library/swift:6.3.2-rhel-ubi9'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/swift:6.3.2-rhel-ubi9 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/swift:6.3.2-rhel-ubi9  docker.io/library/swift:6.3.2-rhel-ubi9'

镜像构建历史


# 2026-06-26 07:29:20  0.00B 执行命令并创建新的镜像层
RUN |5 SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F SWIFT_PLATFORM=ubi9 SWIFT_BRANCH=swift-6.3.2-release SWIFT_VERSION=swift-6.3.2-RELEASE SWIFT_WEBROOT=https://download.swift.org /bin/sh -c swift --version # buildkit
                        
# 2026-06-26 07:29:20  3.49GB 执行命令并创建新的镜像层
RUN |5 SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F SWIFT_PLATFORM=ubi9 SWIFT_BRANCH=swift-6.3.2-release SWIFT_VERSION=swift-6.3.2-RELEASE SWIFT_WEBROOT=https://download.swift.org /bin/sh -c set -e;     ARCH_NAME="$(rpm --eval '%{_arch}')";     url=;     case "${ARCH_NAME##*-}" in         'x86_64')             OS_ARCH_SUFFIX='';             ;;         'aarch64')             OS_ARCH_SUFFIX='-aarch64';             ;;         *) echo >&2 "error: unsupported architecture: '$ARCH_NAME'"; exit 1 ;;     esac;     SWIFT_WEBDIR="$SWIFT_WEBROOT/$SWIFT_BRANCH/$(echo $SWIFT_PLATFORM | tr -d .)$OS_ARCH_SUFFIX"     && SWIFT_BIN_URL="$SWIFT_WEBDIR/$SWIFT_VERSION/$SWIFT_VERSION-$SWIFT_PLATFORM$OS_ARCH_SUFFIX.tar.gz"     && SWIFT_SIG_URL="$SWIFT_BIN_URL.sig"     && echo $SWIFT_BIN_URL     && export GNUPGHOME="$(mktemp -d)"     && curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig     && gpg --batch --quiet --keyserver keyserver.ubuntu.com --recv-keys "$SWIFT_SIGNING_KEY"     && gpg --batch --verify swift.tar.gz.sig swift.tar.gz     && tar -xzf swift.tar.gz --directory / --strip-components=1     && chmod -R o+r /usr/lib/swift     && rm -rf "$GNUPGHOME" swift.tar.gz.sig swift.tar.gz # buildkit
                        
# 2026-06-26 07:28:40  0.00B 设置环境变量 SWIFT_SIGNING_KEY SWIFT_PLATFORM SWIFT_BRANCH SWIFT_VERSION SWIFT_WEBROOT
ENV SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F SWIFT_PLATFORM=ubi9 SWIFT_BRANCH=swift-6.3.2-release SWIFT_VERSION=swift-6.3.2-RELEASE SWIFT_WEBROOT=https://download.swift.org
                        
# 2026-06-26 07:28:40  0.00B 定义构建参数
ARG SWIFT_WEBROOT=https://download.swift.org
                        
# 2026-06-26 07:28:40  0.00B 定义构建参数
ARG SWIFT_VERSION=swift-6.3.2-RELEASE
                        
# 2026-06-26 07:28:40  0.00B 定义构建参数
ARG SWIFT_BRANCH=swift-6.3.2-release
                        
# 2026-06-26 07:28:40  0.00B 定义构建参数
ARG SWIFT_PLATFORM=ubi9
                        
# 2026-06-26 07:28:40  0.00B 定义构建参数
ARG SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F
                        
# 2026-06-26 07:28:40  306.44MB 执行命令并创建新的镜像层
RUN /bin/sh -c yum -y install   git                 gcc-c++             libcurl-devel       libedit-devel       libuuid-devel       libxml2-devel       ncurses-devel       python3-devel       rsync               sqlite-devel        unzip               zip # buildkit
                        
# 2026-06-26 07:28:40  0.00B 添加元数据标签
LABEL description=Docker Container for the Swift programming language
                        
# 2026-06-26 07:28:40  0.00B 添加元数据标签
LABEL maintainer=Swift Infrastructure <swift-infrastructure@forums.swift.org>
                        
# 2026-06-25 13:38:46  212.08MB 
/bin/sh -c #(nop) LABEL "org.opencontainers.image.created"="2026-06-25T05:38:13Z" "org.opencontainers.image.revision"="5f0052ae5ad6e692325f20b47f9a15830ba43ef2" "build-date"="2026-06-25T05:38:13Z" "architecture"="x86_64" "vcs-ref"="5f0052ae5ad6e692325f20b47f9a15830ba43ef2" "vcs-type"="git" "release"="1782365825"org.opencontainers.image.created=2026-06-25T05:38:13Z,org.opencontainers.image.revision=5f0052ae5ad6e692325f20b47f9a15830ba43ef2
                        
# 2026-06-25 13:38:45  0.00B 
/bin/sh -c #(nop) COPY dir:20961462c5205530b67f6f5f7c5374ed5e9ac3b372062cbe2067844563d2515d in /root/buildinfo/      
                        
# 2026-06-25 13:38:45  0.00B 
/bin/sh -c #(nop) COPY dir:20961462c5205530b67f6f5f7c5374ed5e9ac3b372062cbe2067844563d2515d in /usr/share/buildinfo/      
                        
# 2026-06-25 13:38:45  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2026-06-25 13:38:45  0.00B 
/bin/sh -c #(nop) COPY file:1376702515d596f414e3aa494e0daa6d408a6d2475c4aeca96bf9392f5287f69 in /etc/yum.repos.d/.      
                        
# 2026-06-25 13:38:45  0.00B 
/bin/sh -c #(nop) COPY dir:45515cc5ec4c8c670413a5c6b236985cfad9a25da303502cddf18e5647660bcc in /      
                        
# 2026-06-25 13:38:43  0.00B 
/bin/sh -c #(nop) ENV container oci
                        
# 2026-06-25 13:38:43  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel9"
                        
# 2026-06-25 13:38:43  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2026-06-25 13:38:43  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9"
                        
# 2026-06-25 13:38:43  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
                        
# 2026-06-25 13:38:43  0.00B 
/bin/sh -c #(nop) LABEL description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
                        
# 2026-06-25 13:38:43  0.00B 
/bin/sh -c #(nop) LABEL summary="Provides the latest release of Red Hat Universal Base Image 9."
                        
# 2026-06-25 13:38:43  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
                        
# 2026-06-25 13:38:43  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-container"       name="ubi9/ubi"       version="9.8"       cpe="cpe:/a:redhat:enterprise_linux:9::appstream"       distribution-scope="public"
                        
# 2026-06-25 13:38:43  0.00B 
/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"
                        
# 2026-06-25 13:38:43  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."       vendor="Red Hat, Inc."
                        
                    

镜像信息

{
    "Id": "sha256:aee55702e78457e15a69c532935e9d507b0fe1c806f7c9b292d8bfcabff09c7c",
    "RepoTags": [
        "swift:6.3.2-rhel-ubi9",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/swift:6.3.2-rhel-ubi9"
    ],
    "RepoDigests": [
        "swift@sha256:73a52d15f582078dc13220840d2aaed39b31c6359074b07ee7104dd210fa1b33",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/swift@sha256:cf9281843f1ccd7c7c099f5c7ae01a50cfadb204b5d480ac8144b98b15ddabae"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-06-25T23:29:20.227826309Z",
    "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",
            "container=oci",
            "SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F",
            "SWIFT_PLATFORM=ubi9",
            "SWIFT_BRANCH=swift-6.3.2-release",
            "SWIFT_VERSION=swift-6.3.2-RELEASE",
            "SWIFT_WEBROOT=https://download.swift.org"
        ],
        "Cmd": [
            "/bin/bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "architecture": "x86_64",
            "build-date": "2026-06-25T05:38:13Z",
            "com.redhat.component": "ubi9-container",
            "com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI",
            "cpe": "cpe:/a:redhat:enterprise_linux:9::appstream",
            "description": "Docker Container for the Swift programming language",
            "distribution-scope": "public",
            "io.buildah.version": "1.44.0",
            "io.k8s.description": "The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.",
            "io.k8s.display-name": "Red Hat Universal Base Image 9",
            "io.openshift.expose-services": "",
            "io.openshift.tags": "base rhel9",
            "maintainer": "Swift Infrastructure \u003cswift-infrastructure@forums.swift.org\u003e",
            "name": "ubi9/ubi",
            "org.opencontainers.image.created": "2026-06-25T05:38:13Z",
            "org.opencontainers.image.revision": "5f0052ae5ad6e692325f20b47f9a15830ba43ef2",
            "release": "1782365825",
            "summary": "Provides the latest release of Red Hat Universal Base Image 9.",
            "url": "https://catalog.redhat.com/en/search?searchType=containers",
            "vcs-ref": "5f0052ae5ad6e692325f20b47f9a15830ba43ef2",
            "vcs-type": "git",
            "vendor": "Red Hat, Inc.",
            "version": "9.8"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 4005304888,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/21fa36429b1e8aa3206ac8c4c34cc87c5a4c16dd5173e47389af8399e0059ab5/diff:/var/lib/docker/overlay2/8b5b1708d37b9174c7fedffbb029f13d299200b6134a89708e454b2a64937f95/diff:/var/lib/docker/overlay2/81caae76d7024f8f36c5481c225c27d802446f0b0db6989df091efa95be9d079/diff",
            "MergedDir": "/var/lib/docker/overlay2/90bf2ee4a14fd091142510324b238e4b388eef839574bff69441cd1e7df99ede/merged",
            "UpperDir": "/var/lib/docker/overlay2/90bf2ee4a14fd091142510324b238e4b388eef839574bff69441cd1e7df99ede/diff",
            "WorkDir": "/var/lib/docker/overlay2/90bf2ee4a14fd091142510324b238e4b388eef839574bff69441cd1e7df99ede/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:4cdfd50b5c5f4eb4eb61d4241d641ea4201796903958462ffa8b6abab8f5a15a",
            "sha256:eac9c1a24192059fd00ae74262c4bf39f197849c1dec3565c58afbc9256b4c37",
            "sha256:41ae8a45cea1fac5703f3ef29709373c333cca30c836a4d5b2054451f7490128",
            "sha256:570636329891e80fd99449d8cbc95f3152a4954977f16b972074a5c5bfeb5161"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-06-29T18:15:52.057826588+08:00"
    }
}

更多版本

docker.io/library/swift:rhel-ubi9-slim

linux/amd64 docker.io379.09MB2026-06-29 18:13
10

docker.io/library/swift:6.3.2-rhel-ubi9

linux/amd64 docker.io4.01GB2026-06-29 18:19
11
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×