docker.io/library/ubuntu:12.04 linux/amd64

docker.io/library/ubuntu:12.04 - 国内下载镜像源 浏览次数:20 安全受验证的发布者-Docker

Ubuntu

Ubuntu 是一个流行的 Linux 发行版,提供了基本的 Unix shell 和命令行接口。

源镜像 docker.io/library/ubuntu:12.04
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/ubuntu:12.04
镜像ID sha256:5b117edd0b767986092e9f721ba2364951b0a271f53f1f41aff9dd1861c2d4fe
镜像TAG 12.04
大小 103.59MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 20 次
贡献者
镜像创建 2017-04-12T21:05:30.976274223Z
同步时间 2025-01-13 09:11
更新时间 2025-01-18 16:27
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/ubuntu:12.04
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/ubuntu:12.04  docker.io/library/ubuntu:12.04

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/ubuntu:12.04
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/ubuntu:12.04  docker.io/library/ubuntu:12.04

Shell快速替换命令

sed -i 's#library/ubuntu:12.04#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/ubuntu:12.04#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2017-04-13 05:05:30  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2017-04-13 05:05:30  7.00B 
/bin/sh -c mkdir -p /run/systemd && echo 'docker' > /run/systemd/container
                        
# 2017-04-13 05:05:29  1.91KB 
/bin/sh -c sed -i 's/^#\s*\(deb.*universe\)$/\1/g' /etc/apt/sources.list
                        
# 2017-04-13 05:05:27  0.00B 
/bin/sh -c rm -rf /var/lib/apt/lists/*
                        
# 2017-04-13 05:05:26  156.26KB 
/bin/sh -c set -xe 		&& echo '#!/bin/sh' > /usr/sbin/policy-rc.d 	&& echo 'exit 101' >> /usr/sbin/policy-rc.d 	&& chmod +x /usr/sbin/policy-rc.d 		&& dpkg-divert --local --rename --add /sbin/initctl 	&& cp -a /usr/sbin/policy-rc.d /sbin/initctl 	&& sed -i 's/^exit.*/exit 0/' /sbin/initctl 		&& echo 'force-unsafe-io' > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup 		&& echo 'DPkg::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' > /etc/apt/apt.conf.d/docker-clean 	&& echo 'APT::Update::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' >> /etc/apt/apt.conf.d/docker-clean 	&& echo 'Dir::Cache::pkgcache ""; Dir::Cache::srcpkgcache "";' >> /etc/apt/apt.conf.d/docker-clean 		&& echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/docker-no-languages 		&& echo 'Acquire::GzipIndexes "true"; Acquire::CompressionTypes::Order:: "gz";' > /etc/apt/apt.conf.d/docker-gzip-indexes 		&& echo 'Apt::AutoRemove::SuggestsImportant "false";' > /etc/apt/apt.conf.d/docker-autoremove-suggests
                        
# 2017-04-13 05:05:24  103.43MB 
/bin/sh -c #(nop) ADD file:6f12126281dd0028de93ca678c7a77561c8f4f7625315097fbd03a80f1d6020a in / 
                        
                    

镜像信息

{
    "Id": "sha256:5b117edd0b767986092e9f721ba2364951b0a271f53f1f41aff9dd1861c2d4fe",
    "RepoTags": [
        "ubuntu:12.04",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/ubuntu:12.04"
    ],
    "RepoDigests": [
        "ubuntu@sha256:18305429afa14ea462f810146ba44d4363ae76e4c8dfc38288cf73aa07485005",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/ubuntu@sha256:ff38d3ab43a1f8ff7a83312369313e5b1b913df56d19c21b12029fc682783df4"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2017-04-12T21:05:30.976274223Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "1.12.6",
    "Author": "",
    "Config": {
        "Hostname": "eb5b2868ea5d",
        "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": [
            "/bin/bash"
        ],
        "ArgsEscaped": true,
        "Image": "sha256:47e3f9ec5e6e59673b057bbbefad4aeccd33a53b98d1ff12ffa2f049b7981bba",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {}
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 103592866,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/8b0589001f387871dd72201a7705842894033571952be146aaaa1b053036526e/diff:/var/lib/docker/overlay2/e7c0c4b4d813f56e7137ec6d0e9d0e3676a68d5bc20034bda5feacda01884339/diff:/var/lib/docker/overlay2/387de2ad31ea3da9007dc69c4e345e3e30f1b5ff0653a107308d2c9892cc6cf0/diff:/var/lib/docker/overlay2/75541843f368b4c1015323599198e051eec465f6e0015118f75320d01ece3e5d/diff",
            "MergedDir": "/var/lib/docker/overlay2/c31ac2a0ca0cc3ab049fb387ad8156c4956eedb21c775c15307c563541fca640/merged",
            "UpperDir": "/var/lib/docker/overlay2/c31ac2a0ca0cc3ab049fb387ad8156c4956eedb21c775c15307c563541fca640/diff",
            "WorkDir": "/var/lib/docker/overlay2/c31ac2a0ca0cc3ab049fb387ad8156c4956eedb21c775c15307c563541fca640/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:58bcc73dcf4050a4955916a0dcb7e5f9c331bf547d31e22052f1b5fa16cf63f8",
            "sha256:9dc188d975fd7c511e3e40db68fcc5eb6290df063f36998c956fd147163fd821",
            "sha256:ee60293db08fc3111327cc7accc92798fd215ba7c148a6a7d6e1e3fd3b533efc",
            "sha256:73b4683e66e8ba13317b022e51f16960e0d436df40a772611e4d17248a721771",
            "sha256:3efd1f7c01f65eff325e5615c7b4913537017c633b0c83cba74f8ee1816df535"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-13T09:11:27.596043971+08:00"
    }
}

更多版本

docker.io/library/ubuntu:16.04

linux/amd64 docker.io134.82MB2024-07-09 08:58
340

docker.io/library/ubuntu:22.04

linux/amd64 docker.io77.86MB2024-08-28 11:25
289

docker.io/library/ubuntu:20.04

linux/amd64 docker.io72.81MB2024-09-14 14:43
198

docker.io/library/ubuntu:24.04

linux/amd64 docker.io78.12MB2025-01-07 17:11
36

docker.io/library/ubuntu:12.04

linux/amd64 docker.io103.59MB2025-01-13 09:11
19