sha256:0bcbeb494bed17f8d46fbf05569d7b9e079eb49010d2c098d914c1d04ca9f78f
2021-08-31 03:52:06 UTC
237 MB
1.12
JSYAML_VERSION3.13.1
MONGO_MAJOR5.0
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION5.0.2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:35807b77a593c1147d13dc926a91dcc3015616ff7307cc30442c5a8e07546283 - 11.49% (27.2 MB)
[#001] sha256:664b0ebdcc074096f3cdb5767cd0679b6eb1b867cc4803caebc900c3a0e3cd7a - 0.0% (1.71 KB)
[#002] sha256:d598f4d3c08173a580ddfbc1aab7570a506bbe19ef2f760eef62bb18b0f2fe42 - 1.23% (2.92 MB)
[#003] sha256:291455135b00f1125d53ec53b9bd1246a1a95c5289d78d52aeeebc2ca216e5ed - 2.62% (6.2 MB)
[#004] sha256:b46409342f130fad45e914eb39eb6ff00f27268fb1b229f287a6b8102d7aa9bf - 0.0% (149 Bytes)
[#005] sha256:ff2b9c6e6f3a34b81bff9c8e5cca15de3929bb9eaac42390afe055c4fb1dead8 - 0.0% (1.4 KB)
[#006] sha256:149f6335fc27dbe4a0d20cedeadb246cd0527052841f69e697ecf1dc3e5345cf - 0.0% (235 Bytes)
[#007] sha256:baeb6f3bec76525035e546be91577375aa0cba19b64e0a261a1f3675468eecf7 - 84.66% (201 MB)
[#008] sha256:8617caab2de56669e93c1c2b69ec7b1ff4755e928b0c99c1aecbcfabd9bef863 - 0.0% (170 Bytes)
[#009] sha256:067d70de78282dabaa4714800e36e38a20fca78b2e99631e17480af35f36924e - 0.0% (4.59 KB)
/bin/sh -c #(nop) ADD file:d2abf27fe2e8b0b5f4da68c018560c73e11c53098329246e3e6fe176698ef941 in /
2021-08-31 01:20:56 UTC/bin/sh -c #(nop) CMD ["bash"]
2021-08-31 03:51:07 UTC/bin/sh -c groupadd -r mongodb && useradd -r -g mongodb mongodb
2021-08-31 03:51:15 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates jq numactl ; if ! command -v ps > /dev/null; then apt-get install -y --no-install-recommends procps; fi; rm -rf /var/lib/apt/lists/*
2021-08-31 03:51:15 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.12
2021-08-31 03:51:15 UTC/bin/sh -c #(nop) ENV JSYAML_VERSION=3.13.1
2021-08-31 03:51:26 UTC/bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget ; if ! command -v gpg > /dev/null; then apt-get install -y --no-install-recommends gnupg dirmngr; savedAptMark="$savedAptMark gnupg dirmngr"; elif gpg --version | grep -q '^gpg (GnuPG) 1\.'; then apt-get install -y --no-install-recommends gnupg-curl; fi; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.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; command -v gpgconf && gpgconf --kill all || :; rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc; wget -O /js-yaml.js "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/dist/js-yaml.js"; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true
2021-08-31 03:51:27 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2021-08-31 03:51:34 UTC/bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; set -- 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11'; for key; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --export "$@" > /etc/apt/trusted.gpg.d/mongodb.gpg; command -v gpgconf && gpgconf --kill all || :; rm -r "$GNUPGHOME"; apt-key list
2021-08-31 03:51:34 UTC/bin/sh -c #(nop) ARG MONGO_PACKAGE=mongodb-org
2021-08-31 03:51:34 UTC/bin/sh -c #(nop) ARG MONGO_REPO=repo.mongodb.org
2021-08-31 03:51:34 UTC/bin/sh -c #(nop) ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2021-08-31 03:51:35 UTC/bin/sh -c #(nop) ENV MONGO_MAJOR=5.0
2021-08-31 03:51:35 UTC/bin/sh -c echo "deb http://$MONGO_REPO/apt/ubuntu focal/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list"
2021-08-31 03:51:35 UTC/bin/sh -c #(nop) ENV MONGO_VERSION=5.0.2
2021-08-31 03:52:02 UTC/bin/sh -c set -x && export DEBIAN_FRONTEND=noninteractive && apt-get update && ln -s /bin/true /usr/local/bin/systemctl && apt-get install -y ${MONGO_PACKAGE}=$MONGO_VERSION ${MONGO_PACKAGE}-server=$MONGO_VERSION ${MONGO_PACKAGE}-shell=$MONGO_VERSION ${MONGO_PACKAGE}-mongos=$MONGO_VERSION ${MONGO_PACKAGE}-tools=$MONGO_VERSION && rm -f /usr/local/bin/systemctl && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig
2021-08-31 03:52:05 UTC/bin/sh -c mkdir -p /data/db /data/configdb && chown -R mongodb:mongodb /data/db /data/configdb
2021-08-31 03:52:05 UTC/bin/sh -c #(nop) VOLUME [/data/db /data/configdb]
2021-08-31 03:52:05 UTC/bin/sh -c #(nop) COPY file:df3353d9b2c25ef83b499ecae7fd5d611adb4a9462a577435178acaad3c8c695 in /usr/local/bin/
2021-08-31 03:52:05 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2021-08-31 03:52:05 UTC/bin/sh -c #(nop) EXPOSE 27017
2021-08-31 03:52:06 UTC/bin/sh -c #(nop) CMD ["mongod"]
sha256:881b0b5e414a3c1a9d294850aa2e841cb216d9f9905ebbf008cb326abd8672c6
2021-08-25 19:40:16 UTC
2.77 GB
8c517e4b1598d627ee16c2dd45be90397bf040cf2845eef2aff0b9bc25062228
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.2-signed.msi
MONGO_VERSION5.0.2
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 57.72% (1.6 GB)
[#001] sha256:c67ded6868b61d392a0c096f911563fd6bc0bc3ed4fe401d077b3718a1b0cdaf - 32.51% (923 MB)
[#002] sha256:985da5cbc0735e1c422e766af23125ba345f431cb337ea43ec32298d0bb8e4ea - 0.0% (1.26 KB)
[#003] sha256:658daa6e465de2e8f951f7cc7f7fc7bcac7946ca1d3a281ab8080f828ed47a95 - 0.0% (1.26 KB)
[#004] sha256:d53b88d0d8031cad96cddf85893e17fbcf1f81c7ecc57e35d89e5139f1a9f399 - 0.0% (1.33 KB)
[#005] sha256:b5cf20037e536db8e6ecf6ca661157a1a13428891172fec3b39e1b58a50a1146 - 0.0% (1.36 KB)
[#006] sha256:1227c86fa7a71ea32cd31b6f7623bf109919d7be73af22a4bca0c302cfbe83d0 - 9.77% (277 MB)
[#007] sha256:8dbc30f10f98aa8cfb33527e195657371709483ca7f3ac3823f37ba6633dd971 - 0.0% (1.26 KB)
[#008] sha256:df248022067962cd2e97a4f5830c039784df486f4470d5479bcf74cb2b98f521 - 0.0% (1.29 KB)
[#009] sha256:72a2e173c76c2274f766c62c19c9459c263d9ca1e817fd332a4d2ceb096c96de - 0.0% (1.25 KB)
Apply image 1809-RTM-amd64
2021-08-05 19:44:34 UTCInstall update 1809-amd64
2021-08-25 13:46:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-08-25 19:38:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.2
2021-08-25 19:38:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.2-signed.msi
2021-08-25 19:38:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=8c517e4b1598d627ee16c2dd45be90397bf040cf2845eef2aff0b9bc25062228
2021-08-25 19:40:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); if ($env:MONGO_DOWNLOAD_SHA256) { Write-Host ('Verifying sha256 ({0}) ...' -f $env:MONGO_DOWNLOAD_SHA256); if ((Get-FileHash mongo.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; }; Write-Host 'Installing ...'; Start-Process msiexec -Wait -ArgumentList @( '/i', 'mongo.msi', '/quiet', '/qn', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=Client,MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongo.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2021-08-25 19:40:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-08-25 19:40:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-08-25 19:40:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
sha256:faac1ce88c047426be2b4ee87af431bd3ac3185dcae6b12f9cf2a57c3d7e9dc6
2021-08-25 19:42:41 UTC
6.12 GB
8c517e4b1598d627ee16c2dd45be90397bf040cf2845eef2aff0b9bc25062228
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.2-signed.msi
MONGO_VERSION5.0.2
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 61.98% (3.79 GB)
[#001] sha256:c427f892fe74603ae09d4e49b25f8f7046f957054034dc9f462e0e88d7bffaa5 - 33.52% (2.05 GB)
[#002] sha256:a869803fc3d8292f0fe1bc6ed35e1ceedbd7c797a1486767a55f88c6c28ed4c5 - 0.0% (1.39 KB)
[#003] sha256:1ae64dd51cae865b4fb1f2dff46a2a28c142afc717d2bf51d33fa91044f3b89c - 0.0% (1.32 KB)
[#004] sha256:e2a9fdae42abe869550529825a5ed22a28d10d7b723d1b1c36dd70a3c66f2087 - 0.0% (1.25 KB)
[#005] sha256:11515d204e6c2d6b6ee5e319faca359304331db62af63ee66ee79110920df48a - 0.0% (1.27 KB)
[#006] sha256:96873d298adf1b77548a67c52c60bf53094d7152fedab2839da13ee2353c9c74 - 4.49% (281 MB)
[#007] sha256:6bd183858c1b7762db7816f865b42952b23b8842785235492250805c2b1bf15a - 0.0% (1.39 KB)
[#008] sha256:f9969cdae0a3da21fd9c98332f01a059a52048731d43587716a9c52b41a5eaff - 0.0% (1.38 KB)
[#009] sha256:795a58437c09d52d08db591ccbcc6a9fda4772573cbf4dafc72f943c01061d9d - 0.0% (1.41 KB)
Apply image 1607-RTM-amd64
2021-08-01 08:52:00 UTCInstall update ltsc2016-amd64
2021-08-25 13:59:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-08-25 19:40:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.2
2021-08-25 19:40:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.2-signed.msi
2021-08-25 19:40:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=8c517e4b1598d627ee16c2dd45be90397bf040cf2845eef2aff0b9bc25062228
2021-08-25 19:42:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); if ($env:MONGO_DOWNLOAD_SHA256) { Write-Host ('Verifying sha256 ({0}) ...' -f $env:MONGO_DOWNLOAD_SHA256); if ((Get-FileHash mongo.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; }; Write-Host 'Installing ...'; Start-Process msiexec -Wait -ArgumentList @( '/i', 'mongo.msi', '/quiet', '/qn', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=Client,MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongo.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2021-08-25 19:42:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-08-25 19:42:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-08-25 19:42:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
sha256:31299b956c796f9089951170dabfd46a135f123eedfa12cb25c3cfa4ea356c6f
2021-08-31 03:16:49 UTC
227 MB
1.12
JSYAML_VERSION3.13.1
MONGO_MAJOR5.0
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION5.0.2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:ab2d02b1ec420fdb84c9f52abda403b6aef20f5de904a2ecda5ae4f5cd6e4d46 - 11.41% (25.9 MB)
[#001] sha256:ee9e2375f5b5048fb0013ccb2e7290680c2590799520474598fe5ed6e21b3fa9 - 0.0% (1.72 KB)
[#002] sha256:85fc6079c33aea50db5ae3f5319d71f1cdf0b7d825e846d2d5d2051bddee77e6 - 1.22% (2.78 MB)
[#003] sha256:d2e5461d9f2757a86731db084491d3c69e14f07c17810efd521d6aada80f86e2 - 2.69% (6.11 MB)
[#004] sha256:249760dddaa1f69b0c9d1f8a23943c6d0eba70c05f68f93646af174928ab2ab7 - 0.0% (149 Bytes)
[#005] sha256:6e94ab21b2c6a234bc42bd66502c16587a74d8a32f4a6e9ee43682ef83aa9420 - 0.0% (1.4 KB)
[#006] sha256:9acb3085c69e083aa0d451db77aa3c6bbf3203d22bcd2e86928c4f08e75dd8a6 - 0.0% (234 Bytes)
[#007] sha256:2eeed934852a8e456670af4eb68f5e89cbaacb05173abd6328b4a423e83659dc - 84.67% (192 MB)
[#008] sha256:32e4b5b03a55bd1f09a42abd3b766841aabd3351ff4effc50ff1c20df20e3d9f - 0.0% (171 Bytes)
[#009] sha256:0f71684ba4f6f0b50ec3af19175732b1641fb1c99434f93da957db2f5ad01fec - 0.0% (4.59 KB)
/bin/sh -c #(nop) ADD file:cec21619ecbd37b4cf8da15153b8957a343cd25c6f714e3ac3969b6003704a58 in /
2021-08-31 01:40:45 UTC/bin/sh -c #(nop) CMD ["bash"]
2021-08-31 03:15:52 UTC/bin/sh -c groupadd -r mongodb && useradd -r -g mongodb mongodb
2021-08-31 03:15:59 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates jq numactl ; if ! command -v ps > /dev/null; then apt-get install -y --no-install-recommends procps; fi; rm -rf /var/lib/apt/lists/*
2021-08-31 03:15:59 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.12
2021-08-31 03:16:00 UTC/bin/sh -c #(nop) ENV JSYAML_VERSION=3.13.1
2021-08-31 03:16:13 UTC/bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget ; if ! command -v gpg > /dev/null; then apt-get install -y --no-install-recommends gnupg dirmngr; savedAptMark="$savedAptMark gnupg dirmngr"; elif gpg --version | grep -q '^gpg (GnuPG) 1\.'; then apt-get install -y --no-install-recommends gnupg-curl; fi; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.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; command -v gpgconf && gpgconf --kill all || :; rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc; wget -O /js-yaml.js "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/dist/js-yaml.js"; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true
2021-08-31 03:16:13 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2021-08-31 03:16:23 UTC/bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; set -- 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11'; for key; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --export "$@" > /etc/apt/trusted.gpg.d/mongodb.gpg; command -v gpgconf && gpgconf --kill all || :; rm -r "$GNUPGHOME"; apt-key list
2021-08-31 03:16:23 UTC/bin/sh -c #(nop) ARG MONGO_PACKAGE=mongodb-org
2021-08-31 03:16:23 UTC/bin/sh -c #(nop) ARG MONGO_REPO=repo.mongodb.org
2021-08-31 03:16:23 UTC/bin/sh -c #(nop) ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2021-08-31 03:16:24 UTC/bin/sh -c #(nop) ENV MONGO_MAJOR=5.0
2021-08-31 03:16:24 UTC/bin/sh -c echo "deb http://$MONGO_REPO/apt/ubuntu focal/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list"
2021-08-31 03:16:25 UTC/bin/sh -c #(nop) ENV MONGO_VERSION=5.0.2
2021-08-31 03:16:46 UTC/bin/sh -c set -x && export DEBIAN_FRONTEND=noninteractive && apt-get update && ln -s /bin/true /usr/local/bin/systemctl && apt-get install -y ${MONGO_PACKAGE}=$MONGO_VERSION ${MONGO_PACKAGE}-server=$MONGO_VERSION ${MONGO_PACKAGE}-shell=$MONGO_VERSION ${MONGO_PACKAGE}-mongos=$MONGO_VERSION ${MONGO_PACKAGE}-tools=$MONGO_VERSION && rm -f /usr/local/bin/systemctl && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig
2021-08-31 03:16:48 UTC/bin/sh -c mkdir -p /data/db /data/configdb && chown -R mongodb:mongodb /data/db /data/configdb
2021-08-31 03:16:48 UTC/bin/sh -c #(nop) VOLUME [/data/db /data/configdb]
2021-08-31 03:16:48 UTC/bin/sh -c #(nop) COPY file:df3353d9b2c25ef83b499ecae7fd5d611adb4a9462a577435178acaad3c8c695 in /usr/local/bin/
2021-08-31 03:16:48 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2021-08-31 03:16:49 UTC/bin/sh -c #(nop) EXPOSE 27017
2021-08-31 03:16:49 UTC/bin/sh -c #(nop) CMD ["mongod"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.