sha256:355dd2ee241e1fb58e359c1b5ee3c3c8975ff73683ed6a4a0b4688cbde5ba908
2022-05-11 16:36:34 UTC
2.37 GB
bb8d6bf77df675ef3c89eeded536fc9dcc454f462ef728da53efee7a2c9eb80f
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.8-signed.msi
MONGO_VERSION5.0.8
[#000] sha256:97f65a0ec59e643faf84024aa713a9be059322380315fda829756bbbd96d6258 - 56.46% (1.34 GB)
[#001] sha256:12fb50a031bdc8d2b65d86d694a4ed20e937852ed1bd3c433d8f2f60279cecc7 - 31.46% (764 MB)
[#002] sha256:52d280e9bf32da92b07a144022b757d7e39ac8039e166551ad32f8ee416bb55f - 0.0% (1.26 KB)
[#003] sha256:3d69949bf137a7a40710907aea6ad10bc1cba2318934604a97bf9ec8d5eedfbb - 0.0% (1.39 KB)
[#004] sha256:975bdc7df87eaaec677c8594bb8b856ebadb43aab582ab1ea92e8c910d9c8550 - 0.0% (1.38 KB)
[#005] sha256:275ab655e61f196bcabcafd8cff3ce0ab2a001fcc3eaa9c8691ab7b52c09c025 - 0.0% (1.37 KB)
[#006] sha256:b28074096807789e501b06e108667808b02b42b6d9c61cb44636328d2c842d90 - 12.09% (293 MB)
[#007] sha256:1fa9fade23ac9370e0c4cf1e61341873a7489e07a2d8eb7108e9e189bae94da3 - 0.0% (1.4 KB)
[#008] sha256:d1d2ff547f5ee845f1916b8dc44e287d89cd3e91cbbe124b661c45efa809b029 - 0.0% (1.39 KB)
[#009] sha256:35658930a9fccd0fdfd52a73146a98c14e432407a60f8cbf6ef2720477013cd9 - 0.0% (1.41 KB)
Apply image 10.0.20348.643
2022-05-05 03:02:27 UTCInstall update 10.0.20348.707
2022-05-11 12:34:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-05-11 16:35:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.8
2022-05-11 16:35:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.8-signed.msi
2022-05-11 16:35:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=bb8d6bf77df675ef3c89eeded536fc9dcc454f462ef728da53efee7a2c9eb80f
2022-05-11 16:36:31 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.';
2022-05-11 16:36:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-05-11 16:36:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-05-11 16:36:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
sha256:75b1d8faf352efb8e8bcf3a0493f97b4cd9ed81b3f8d4b9ff0872f22102c48db
2022-05-11 16:38:57 UTC
2.62 GB
bb8d6bf77df675ef3c89eeded536fc9dcc454f462ef728da53efee7a2c9eb80f
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.8-signed.msi
MONGO_VERSION5.0.8
[#000] sha256:b111c3320c949bea81612bf4554f1b6592c2f504920b5bf57ba340a1d4d52c93 - 66.77% (1.75 GB)
[#001] sha256:8b534d64a7c337eb8a23b425e4f598cd3e7407ddf8c7b2f714d1e7f7ed6a04be - 22.3% (598 MB)
[#002] sha256:b34adcbd607b6c175a7c7a819fecbbfd53899678f53f169f2b4504070ec6b0ab - 0.0% (1.25 KB)
[#003] sha256:ed648abdccc0008be86dd7acc4b29fcb2b559a0ac7f5bcfd4d0a46765c4c0fad - 0.0% (1.38 KB)
[#004] sha256:c94a5e34d591af17c80fc4a8993148ccf4407c5fd443eeef95e164c95b0e95ac - 0.0% (1.38 KB)
[#005] sha256:8009fd656396aa220eb4ee615063e5f79d1ec0cf60d0f7a03febfc578e8d4b75 - 0.0% (1.36 KB)
[#006] sha256:cbf7a299045301e3ddf47b94cca39cc333c685463e4b39123a442cbd6c34351c - 10.94% (293 MB)
[#007] sha256:e99cf82bce6dd3c1656182ac51e1ce713d935a5ef065f9b59b114d509fb1417a - 0.0% (1.38 KB)
[#008] sha256:4329af9f844d211897916dad41bfe7753864b40e210260ad4287339cb82b1352 - 0.0% (1.38 KB)
[#009] sha256:c89bb3ca933a58854002c046d399fb735c26449a2471def1f9c080cc6f0fac65 - 0.0% (1.37 KB)
Apply image 10.0.17763.2803
2022-05-05 17:03:24 UTCInstall update 10.0.17763.2928
2022-05-11 12:42:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-05-11 16:36:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.8
2022-05-11 16:36:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.8-signed.msi
2022-05-11 16:36:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=bb8d6bf77df675ef3c89eeded536fc9dcc454f462ef728da53efee7a2c9eb80f
2022-05-11 16:38:53 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.';
2022-05-11 16:38:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-05-11 16:38:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-05-11 16:38:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
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.