镜像信息
{
"Id": "sha256:3c937764e6f5de1131b469dc69f0db09f8bd55cf6c983482cde518596d3dd0e5",
"RepoTags": [
"quay.io/ceph/ceph:v18.2.2",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/ceph/ceph:v18.2.2"
],
"RepoDigests": [
"quay.io/ceph/ceph@sha256:f8d467dcf49d13b8ea42229d89be642581110175d8ce36e216aefc9b32b0854d",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/ceph/ceph@sha256:15726068cd9b649d9ef4c89b45e154bfc927fe49cbb351aa6aae16cb9d89e027"
],
"Parent": "",
"Comment": "",
"Created": "2024-05-21T16:16:42.830064094Z",
"Container": "2bd48b28f2837661d76b126180d9087ac0b2833067ec887db9d81ab8b94469ee",
"ContainerConfig": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"5000/tcp": {},
"6789/tcp": {},
"6800/tcp": {},
"6801/tcp": {},
"6802/tcp": {},
"6803/tcp": {},
"6804/tcp": {},
"6805/tcp": {},
"80/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"I_AM_IN_A_CONTAINER=1",
"CEPH_VERSION=reef",
"CEPH_POINT_RELEASE=-18.2.2",
"CEPH_DEVEL=false",
"CEPH_REF=reef",
"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-5.5-1.el8s nfs-ganesha-ceph-5.5-1.el8s nfs-ganesha-rgw-5.5-1.el8s nfs-ganesha-rados-grace-5.5-1.el8s nfs-ganesha-rados-urls-5.5-1.el8s sssd-client dbus-daemon rpcbind\" ]; then if [[ \"${CEPH_VERSION}\" == master || \"${CEPH_VERSION}\" == main ]]; then ARCH=$(arch); if [[ \"${ARCH}\" == \"aarch64\" ]]; then ARCH=\"arm64\"; fi ; curl -s -L \"https://shaman.ceph.com/api/repos/nfs-ganesha/V5.7/latest/centos/8/flavors/ceph_main/repo?arch=${ARCH}\" -o /etc/yum.repos.d/ganesha.repo ; elif [[ \"${CEPH_VERSION}\" == squid ]]; then echo \"[ganesha]\" \u003e /etc/yum.repos.d/ganesha.repo ; echo \"name=ganesha\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"baseurl=https://buildlogs.centos.org/centos/\\$releasever-stream/storage/\\$basearch/nfsganesha-5/\" \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}\" == reef ]]; then echo \"[ganesha]\" \u003e /etc/yum.repos.d/ganesha.repo ; echo \"name=ganesha\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"baseurl=https://buildlogs.centos.org/centos/\\$releasever-stream/storage/\\$basearch/nfsganesha-5/\" \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}\" == quincy ]]; then echo \"[ganesha]\" \u003e /etc/yum.repos.d/ganesha.repo ; echo \"name=ganesha\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; echo \"baseurl=https://buildlogs.centos.org/centos/\\$releasever/storage/\\$basearch/nfsganesha-4/\" \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 \"[ganesha]\" \u003e /etc/yum.repos.d/ganesha.repo ; echo \"name=ganesha\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; 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 \"[ganesha]\" \u003e /etc/yum.repos.d/ganesha.repo ; echo \"name=ganesha\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; 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 \"[ganesha]\" \u003e /etc/yum.repos.d/ganesha.repo ; echo \"name=ganesha\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; 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 \"[ganesha]\" \u003e /etc/yum.repos.d/ganesha.repo ; echo \"name=ganesha\" \u003e\u003e /etc/yum.repos.d/ganesha.repo ; 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/main/latest/centos/8/repo?arch=$(arch) -o /etc/yum.repos.d/tcmu-runner.repo ; if [[ \"${CEPH_VERSION}\" =~ master || \"${CEPH_VERSION}\" == main ]]; then curl -s -L https://shaman.ceph.com/api/repos/ceph-iscsi/main/latest/centos/8/repo -o /etc/yum.repos.d/ceph-iscsi.repo ; elif [[ \"${CEPH_VERSION}\" =~ nautilus|octopus|pacific|quincy|reef|squid ]]; 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-18.2.2\"; if [[ -n \"-18.2.2\" ]]; then CPR=-18.2.2 ; 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_VERSION}\" == main ]] || ${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-18.2.2\"; fi ; else RELEASE_VER=1 ; if [[ false = true ]] ; then REPO_URL=\"https://:@download.ceph.com/prerelease/rpm-${CEPH_VERSION}/el8/\"; else REPO_URL=\"http://download.ceph.com/rpm-${CEPH_VERSION}/el8/\"; fi fi \u0026\u0026 rpm -Uvh \"$REPO_URL/noarch/ceph-release-1-${RELEASE_VER}.el8.noarch.rpm\" \u0026\u0026 if [[ false = true ]] ; then sed -i \"s;http://download.ceph.com/;https://:@download.ceph.com/prerelease/;\" /etc/yum.repos.d/ceph.repo ; dnf clean expire-cache ; fi \u0026\u0026 if [[ 8 -eq 8 ]]; then yum install -y dnf-plugins-core ; yum copr enable -y tchaikov/python-scikit-learn ; yum copr enable -y tchaikov/python3-asyncssh ; yum copr enable -y ceph/grpc ; fi ' \u0026\u0026 yum install -y --setopt=install_weak_deps=False --enablerepo=powertools ca-certificates e2fsprogs ceph-common-18.2.2 ceph-mon-18.2.2 ceph-osd-18.2.2 ceph-mds-18.2.2 cephfs-mirror-18.2.2 cephfs-top-18.2.2 rbd-mirror-18.2.2 ceph-mgr-18.2.2 ceph-mgr-cephadm-18.2.2 ceph-mgr-dashboard-18.2.2 ceph-mgr-diskprediction-local-18.2.2 ceph-mgr-k8sevents-18.2.2 ceph-mgr-rook-18.2.2 python3-saml ceph-grafana-dashboards-18.2.2 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.2 libradosstriper1-18.2.2 gcc lua-devel luarocks nfs-ganesha-5.5-1.el8s nfs-ganesha-ceph-5.5-1.el8s nfs-ganesha-rgw-5.5-1.el8s nfs-ganesha-rados-grace-5.5-1.el8s nfs-ganesha-rados-urls-5.5-1.el8s sssd-client dbus-daemon rpcbind tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-18.2.2 rbd-nbd-18.2.2 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.2 python3-scikit-learn ceph-volume-18.2.2 ceph-exporter-18.2.2 \u0026\u0026 echo '@ceph - memlock 204800' \u003e\u003e /etc/security/limits.conf \u0026\u0026 echo '@root - memlock 204800' \u003e\u003e /etc/security/limits.conf \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-18.2.2 ceph-mon-18.2.2 ceph-osd-18.2.2 ceph-mds-18.2.2 cephfs-mirror-18.2.2 cephfs-top-18.2.2 rbd-mirror-18.2.2 ceph-mgr-18.2.2 ceph-mgr-cephadm-18.2.2 ceph-mgr-dashboard-18.2.2 ceph-mgr-diskprediction-local-18.2.2 ceph-mgr-k8sevents-18.2.2 ceph-mgr-rook-18.2.2 python3-saml ceph-grafana-dashboards-18.2.2 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.2 libradosstriper1-18.2.2 gcc lua-devel luarocks nfs-ganesha-5.5-1.el8s nfs-ganesha-ceph-5.5-1.el8s nfs-ganesha-rgw-5.5-1.el8s nfs-ganesha-rados-grace-5.5-1.el8s nfs-ganesha-rados-urls-5.5-1.el8s sssd-client dbus-daemon rpcbind tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-18.2.2 rbd-nbd-18.2.2 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.2 python3-scikit-learn ceph-volume-18.2.2 ceph-exporter-18.2.2 ) \u0026\u0026 echo \"About to edit lvm.conf\" \u0026\u0026 sed -i -e 's/^\\([[:space:]#]*udev_rules =\\) 1$/\\1 0/' -e 's/^\\([[:space:]#]*udev_sync =\\) 1$/\\1 0/' -e 's/^\\([[:space:]#]*obtain_device_list_from_udev =\\) 1$/\\1 0/' /etc/lvm/lvm.conf \u0026\u0026 echo \"About to validate lvm.conf edits\" \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 echo \"Edits validated OK\" \u0026\u0026 mkdir -p /var/run/ganesha \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 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-18.2.2 ceph-mon-18.2.2 ceph-osd-18.2.2 ceph-mds-18.2.2 cephfs-mirror-18.2.2 cephfs-top-18.2.2 rbd-mirror-18.2.2 ceph-mgr-18.2.2 ceph-mgr-cephadm-18.2.2 ceph-mgr-dashboard-18.2.2 ceph-mgr-diskprediction-local-18.2.2 ceph-mgr-k8sevents-18.2.2 ceph-mgr-rook-18.2.2 python3-saml ceph-grafana-dashboards-18.2.2 kmod lvm2 gdisk smartmontools nvme-cli libstoragemgmt systemd-udev sg3_utils procps-ng hostname ceph-radosgw-18.2.2 libradosstriper1-18.2.2 gcc lua-devel luarocks nfs-ganesha-5.5-1.el8s nfs-ganesha-ceph-5.5-1.el8s nfs-ganesha-rgw-5.5-1.el8s nfs-ganesha-rados-grace-5.5-1.el8s nfs-ganesha-rados-urls-5.5-1.el8s sssd-client dbus-daemon rpcbind tcmu-runner ceph-iscsi python3-rtslib attr ceph-fuse-18.2.2 rbd-nbd-18.2.2 ${CRIMSON_PACKAGES} ceph-immutable-object-cache-18.2.2 python3-scikit-learn ceph-volume-18.2.2 ceph-exporter-18.2.2 \u0026\u0026 echo 'Packages verified successfully'"
],
"Image": "sha256:7d59c43dee8546729f17afb879b0d563ab61e48ac0e55ddfd27d44b9fda6e9ad",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"CEPH_POINT_RELEASE": "-18.2.2",
"GIT_BRANCH": "HEAD",
"GIT_CLEAN": "True",
"GIT_COMMIT": "d4a0f93b06679a5c9148c9e9b367478b2a0d04e0",
"GIT_REPO": "https://github.com/ceph/ceph-container.git",
"RELEASE": "HEAD",
"ceph": "True",
"io.buildah.version": "1.31.5",
"maintainer": "Guillaume Abrioux \u003cgabrioux@redhat.com\u003e",
"org.label-schema.build-date": "20240521",
"org.label-schema.license": "GPLv2",
"org.label-schema.name": "CentOS Stream 8 Base Image",
"org.label-schema.schema-version": "1.0",
"org.label-schema.vendor": "CentOS"
}
},
"DockerVersion": "20.10.21",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"5000/tcp": {},
"6789/tcp": {},
"6800/tcp": {},
"6801/tcp": {},
"6802/tcp": {},
"6803/tcp": {},
"6804/tcp": {},
"6805/tcp": {},
"80/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"I_AM_IN_A_CONTAINER=1",
"CEPH_VERSION=reef",
"CEPH_POINT_RELEASE=-18.2.2",
"CEPH_DEVEL=false",
"CEPH_REF=reef",
"OSD_FLAVOR=default"
],
"Cmd": [
"/bin/bash"
],
"Image": "sha256:7d59c43dee8546729f17afb879b0d563ab61e48ac0e55ddfd27d44b9fda6e9ad",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"CEPH_POINT_RELEASE": "-18.2.2",
"GIT_BRANCH": "HEAD",
"GIT_CLEAN": "True",
"GIT_COMMIT": "d4a0f93b06679a5c9148c9e9b367478b2a0d04e0",
"GIT_REPO": "https://github.com/ceph/ceph-container.git",
"RELEASE": "HEAD",
"ceph": "True",
"io.buildah.version": "1.31.5",
"maintainer": "Guillaume Abrioux \u003cgabrioux@redhat.com\u003e",
"org.label-schema.build-date": "20240521",
"org.label-schema.license": "GPLv2",
"org.label-schema.name": "CentOS Stream 8 Base Image",
"org.label-schema.schema-version": "1.0",
"org.label-schema.vendor": "CentOS"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 1254666786,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/2c70b005fec733c37b4b528db187f73f6fcd8ec96f1c45a8f2cceed74855cb14/diff",
"MergedDir": "/var/lib/docker/overlay2/295bb6e5834e22d4641c5791ff4cdf15359953f95d58f5e73481dac9e3258526/merged",
"UpperDir": "/var/lib/docker/overlay2/295bb6e5834e22d4641c5791ff4cdf15359953f95d58f5e73481dac9e3258526/diff",
"WorkDir": "/var/lib/docker/overlay2/295bb6e5834e22d4641c5791ff4cdf15359953f95d58f5e73481dac9e3258526/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:603ca7453abb095abab8efd6b96292ec6e0d3dc8c25503ec0ec7dd254a24eea3",
"sha256:501b83254f3c64fb153717dad60e7af915d4def82eec735e82e80bd0de6f3c0d"
]
},
"Metadata": {
"LastTagTime": "2024-06-25T04:38:26.854141804Z"
}
}