镜像信息
{
"Id": "sha256:2cf504fded3980c76b59a354fca8f301941f86e369215a08752874d1ddb69b73",
"RepoTags": [
"ceph/ceph:v15.2.13",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ceph/ceph:v15.2.13"
],
"RepoDigests": [
"ceph/ceph@sha256:056637972a107df4096f10951e4216b21fcd8ae0b9fb4552e628d35df3f61139",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ceph/ceph@sha256:0368cf225b3a13b7bdeb3d81ecf370a62931ffa5ff87af880d66aebae74f910a"
],
"Parent": "",
"Comment": "",
"Created": "2021-05-26T22:56:51.841027653Z",
"Container": "cb9935c19df46ba227567520ca39c2ec7a2d16e7609691d09446aead7874e1d9",
"ContainerConfig": {
"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",
"CEPH_VERSION=octopus",
"CEPH_POINT_RELEASE=-15.2.13",
"CEPH_DEVEL=false",
"CEPH_REF=octopus",
"OSD_FLAVOR=default"
],
"Cmd": [
"/bin/sh",
"-c",
"yum install -y epel-release \u0026\u0026 yum install -y jq \u0026\u0026 bash -c ' if [ -n \"nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace nfs-ganesha-rados-urls\" ]; then echo \"[ganesha]\" \u003e /etc/yum.repos.d/ganesha.repo ; echo \"name=ganesha\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; if [[ \"${CEPH_VERSION}\" == master ]]; then echo \"baseurl=https://buildlogs.centos.org/centos/\\$releasever/storage/\\$basearch/nfsganesha-3/\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"gpgcheck=0\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"enabled=1\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; elif [[ \"${CEPH_VERSION}\" == pacific ]]; then echo \"baseurl=https://download.ceph.com/nfs-ganesha/rpm-V3.5-stable/$CEPH_VERSION/el\\$releasever/\\$basearch/\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"gpgcheck=1\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"enabled=1\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"[ganesha-noarch]\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"name=ganesha-noarch\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"baseurl=https://download.ceph.com/nfs-ganesha/rpm-V3.5-stable/$CEPH_VERSION/el\\$releasever/noarch/\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"gpgcheck=1\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"enabled=1\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; elif [[ \"${CEPH_VERSION}\" == octopus ]]; then echo \"baseurl=https://download.ceph.com/nfs-ganesha/rpm-V3.3-stable/$CEPH_VERSION/el\\$releasever/\\$basearch/\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"gpgcheck=1\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"enabled=1\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"[ganesha-noarch]\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"name=ganesha-noarch\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"baseurl=https://download.ceph.com/nfs-ganesha/rpm-V3.3-stable/$CEPH_VERSION/el\\$releasever/noarch/\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"gpgcheck=1\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"enabled=1\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; elif [[ \"${CEPH_VERSION}\" == nautilus ]]; then echo \"baseurl=https://download.ceph.com/nfs-ganesha/rpm-V2.8-stable/$CEPH_VERSION/\\$basearch/\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"gpgcheck=1\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"enabled=1\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; else echo \"baseurl=https://download.ceph.com/nfs-ganesha/rpm-V2.7-stable/$CEPH_VERSION/\\$basearch/\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"gpgcheck=1\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"enabled=1\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; fi ; fi ; if [ -n \"tcmu-runner ceph-iscsi python3-rtslib\" ]; then curl -s -L https://shaman.ceph.com/api/repos/tcmu-runner/master/latest/centos/8/repo?arch=$(arch) -o /etc/yum.repos.d/tcmu-runner.repo ; if [[ \"${CEPH_VERSION}\" =~ master ]]; then curl -s -L https://shaman.ceph.com/api/repos/ceph-iscsi/master/latest/centos/8/repo -o /etc/yum.repos.d/ceph-iscsi.repo ; elif [[ \"${CEPH_VERSION}\" =~ nautilus|octopus|pacific ]]; then curl -s -L https://download.ceph.com/ceph-iscsi/3/rpm/el8/ceph-iscsi.repo -o /etc/yum.repos.d/ceph-iscsi.repo ; else curl -s -L https://download.ceph.com/ceph-iscsi/2/rpm/el8/ceph-iscsi.repo -o /etc/yum.repos.d/ceph-iscsi.repo ; fi ; fi' \u0026\u0026 yum update -y --setopt=install_weak_deps=False \u0026\u0026 rpm --import 'https://download.ceph.com/keys/release.asc' \u0026\u0026 if [[ \"${CEPH_VERSION}\" == nautilus ]]; then CEPH_MGR_K8SEVENTS=\"ceph-mgr-k8sevents-15.2.13\"; if [[ -n \"-15.2.13\" ]]; then CPR=-15.2.13 ; if [[ ${CPR:1:2} -eq 14 ]] \u0026\u0026 [[ ${CPR:4:1} -eq 2 ]] \u0026\u0026 [[ ${CPR:6} -lt 5 ]]; then CEPH_MGR_K8SEVENTS=\"\" ; fi ; fi ; fi \u0026\u0026 bash -c ' if [[ \"${CEPH_VERSION}\" =~ master ]] || ${CEPH_DEVEL}; then ARCH=$(arch); if [[ \"${ARCH}\" == \"aarch64\" ]]; then ARCH=\"arm64\"; fi ; REPO_URL=$(curl -s \"https://shaman.ceph.com/api/search/?project=ceph\u0026distros=centos/8/${ARCH}\u0026flavor=${OSD_FLAVOR}\u0026ref=${CEPH_REF}\u0026sha1=latest\" | jq -r .[0].url); RELEASE_VER=0 ; if [[ \"${OSD_FLAVOR}\" == \"crimson\" ]]; then CRIMSON_PACKAGES=\"ceph-crimson-osd-15.2.13\"; fi ; else RELEASE_VER=1 ; REPO_URL=\"http://download.ceph.com/rpm-${CEPH_VERSION}/el8/\"; fi \u0026\u0026 rpm -Uvh \"$REPO_URL/noarch/ceph-release-1-${RELEASE_VER}.el8.noarch.rpm\" \u0026\u0026 if [[ 8 -eq 8 ]]; then yum install -y dnf-plugins-core ; yum copr enable -y tchaikov/python-scikit-learn ; fi ' \u0026\u0026 yum install -y --setopt=install_weak_deps=False ca-certificates e2fsprogs ceph-common-15.2.13 ceph-mon-15.2.13 ceph-osd-15.2.13 ceph-mds-15.2.13 rbd-mirror-15.2.13 ceph-mgr-15.2.13 ceph-mgr-cephadm-15.2.13 ceph-mgr-dashboard-15.2.13 ceph-mgr-diskprediction-local-15.2.13 ceph-mgr-k8sevents-15.2.13 ceph-mgr-rook-15.2.13 python3-saml ceph-grafana-dashboards-15.2.13 kmod lvm2 gdisk \tsmartmontools \tnvme-cli \tlibstoragemgmt ceph-radosgw-15.2.13 libradosstriper1-15.2.13 nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace nfs-ganesha-rados-urls tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-15.2.13 rbd-nbd-15.2.13 \t${CRIMSON_PACKAGES} python3-scikit-learn \u0026\u0026 INITIAL_SIZE=\"$(bash -c 'sz=\"$(du -sm --exclude=/proc /)\" ; echo \"${sz%*/}\"')\" \u0026\u0026 echo 'Postinstall cleanup' \u0026\u0026 (rm -rf \"/usr/bin/hyperkube /usr/bin/etcd /usr/bin/systemd-analyze /usr/share/hwdata/{iab.txt,oui.txt} /etc/profile.d/lang.sh\" \u0026\u0026 yum clean all \u0026\u0026 rpm -q ca-certificates e2fsprogs ceph-common-15.2.13 ceph-mon-15.2.13 ceph-osd-15.2.13 ceph-mds-15.2.13 rbd-mirror-15.2.13 ceph-mgr-15.2.13 ceph-mgr-cephadm-15.2.13 ceph-mgr-dashboard-15.2.13 ceph-mgr-diskprediction-local-15.2.13 ceph-mgr-k8sevents-15.2.13 ceph-mgr-rook-15.2.13 python3-saml ceph-grafana-dashboards-15.2.13 kmod lvm2 gdisk \tsmartmontools \tnvme-cli \tlibstoragemgmt ceph-radosgw-15.2.13 libradosstriper1-15.2.13 nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace nfs-ganesha-rados-urls tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-15.2.13 rbd-nbd-15.2.13 \t${CRIMSON_PACKAGES} python3-scikit-learn ) \u0026\u0026 sed -i -e 's/udev_rules = 1/udev_rules = 0/' -e 's/udev_sync = 1/udev_sync = 0/' -e 's/obtain_device_list_from_udev = 1/obtain_device_list_from_udev = 0/' /etc/lvm/lvm.conf \u0026\u0026 grep -sqo \"udev_sync = 0\" /etc/lvm/lvm.conf \u0026\u0026 grep -sqo \"udev_rules = 0\" /etc/lvm/lvm.conf \u0026\u0026 grep -sqo \"obtain_device_list_from_udev = 0\" /etc/lvm/lvm.conf \u0026\u0026 rm -rf /etc/{selinux,systemd,udev} /lib/{lsb,udev} /tmp/* /usr/lib{,64}/{locale,udev,dracut} /usr/share/{doc,info,locale,man} /usr/share/{bash-completion,pkgconfig/bash-completion.pc} /var/log/* /var/tmp/* \u0026\u0026 find / -xdev -name \"*.pyc\" -o -name \"*.pyo\" -exec rm -f {} \\; \u0026\u0026 if [ -f /usr/bin/ceph-dencoder ]; then gzip -9 /usr/bin/ceph-dencoder; fi \u0026\u0026 bash -c ' function ifstrip () { if compgen -g \"$1\"; then strip -s \"$1\"; fi } \u0026\u0026 ifstrip /usr/lib{,64}/ceph/erasure-code/* \u0026\u0026 ifstrip /usr/lib{,64}/rados-classes/* \u0026\u0026 ifstrip /usr/lib{,64}/python*/{dist,site}-packages/{rados,rbd,rgw}.*.so \u0026\u0026 ifstrip /usr/bin/{crushtool,monmaptool,osdmaptool}' \u0026\u0026 rm -f /usr/lib/ceph/mgr/dashboard/static/AdminLTE-*/plugins/datatables/extensions/TableTools/images/psd/* \u0026\u0026 find /var/log/ -type f -exec truncate -s 0 {} \\; \u0026\u0026 FINAL_SIZE=\"$(bash -c 'sz=\"$(du -sm --exclude=/proc /)\" ; echo \"${sz%*/}\"')\" \u0026\u0026 REMOVED_SIZE=$((INITIAL_SIZE - FINAL_SIZE)) \u0026\u0026 echo \"Cleaning process removed ${REMOVED_SIZE}MB\" \u0026\u0026 echo \"Dropped container size from ${INITIAL_SIZE}MB to ${FINAL_SIZE}MB\" \u0026\u0026 rpm -q ca-certificates e2fsprogs ceph-common-15.2.13 ceph-mon-15.2.13 ceph-osd-15.2.13 ceph-mds-15.2.13 rbd-mirror-15.2.13 ceph-mgr-15.2.13 ceph-mgr-cephadm-15.2.13 ceph-mgr-dashboard-15.2.13 ceph-mgr-diskprediction-local-15.2.13 ceph-mgr-k8sevents-15.2.13 ceph-mgr-rook-15.2.13 python3-saml ceph-grafana-dashboards-15.2.13 kmod lvm2 gdisk \tsmartmontools \tnvme-cli \tlibstoragemgmt ceph-radosgw-15.2.13 libradosstriper1-15.2.13 nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace nfs-ganesha-rados-urls tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-15.2.13 rbd-nbd-15.2.13 \t${CRIMSON_PACKAGES} python3-scikit-learn \u0026\u0026 echo 'Packages verified successfully'"
],
"Image": "sha256:3fdb8a8d7e63f4c074debe2a9f4616885b114d81a7f083c7d8548b3d0631f75b",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"CEPH_POINT_RELEASE": "-15.2.13",
"GIT_BRANCH": "HEAD",
"GIT_CLEAN": "True",
"GIT_COMMIT": "4138a4f2ff814bda0c1839a71ec858821ec9b809",
"GIT_REPO": "https://github.com/ceph/ceph-container.git",
"RELEASE": "HEAD",
"ceph": "True",
"maintainer": "Dimitri Savineau \u003cdsavinea@redhat.com\u003e",
"org.label-schema.build-date": "20201204",
"org.label-schema.license": "GPLv2",
"org.label-schema.name": "CentOS Base Image",
"org.label-schema.schema-version": "1.0",
"org.label-schema.vendor": "CentOS"
}
},
"DockerVersion": "20.10.2",
"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",
"CEPH_VERSION=octopus",
"CEPH_POINT_RELEASE=-15.2.13",
"CEPH_DEVEL=false",
"CEPH_REF=octopus",
"OSD_FLAVOR=default"
],
"Cmd": [
"/bin/bash"
],
"Image": "sha256:3fdb8a8d7e63f4c074debe2a9f4616885b114d81a7f083c7d8548b3d0631f75b",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"CEPH_POINT_RELEASE": "-15.2.13",
"GIT_BRANCH": "HEAD",
"GIT_CLEAN": "True",
"GIT_COMMIT": "4138a4f2ff814bda0c1839a71ec858821ec9b809",
"GIT_REPO": "https://github.com/ceph/ceph-container.git",
"RELEASE": "HEAD",
"ceph": "True",
"maintainer": "Dimitri Savineau \u003cdsavinea@redhat.com\u003e",
"org.label-schema.build-date": "20201204",
"org.label-schema.license": "GPLv2",
"org.label-schema.name": "CentOS Base Image",
"org.label-schema.schema-version": "1.0",
"org.label-schema.vendor": "CentOS"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 1025032721,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/9f00860d78b7e43f0938b13f18c1466ab7c24b2c80b03367d95cd26f6befd417/diff",
"MergedDir": "/var/lib/docker/overlay2/41bd2781083213e0a56bd36475990dafae6c7f4ceebc60045adbfec1774ea163/merged",
"UpperDir": "/var/lib/docker/overlay2/41bd2781083213e0a56bd36475990dafae6c7f4ceebc60045adbfec1774ea163/diff",
"WorkDir": "/var/lib/docker/overlay2/41bd2781083213e0a56bd36475990dafae6c7f4ceebc60045adbfec1774ea163/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:2653d992f4ef2bfd27f94db643815aa567240c37732cae1405ad1c1309ee9859",
"sha256:a6405c998c39d5715f99ba6ab1e1911ecb72f72e854ade27f4f55348d89a9abc"
]
},
"Metadata": {
"LastTagTime": "2024-06-25T03:04:42.224584079Z"
}
}