2021-06-10 21:40:43 UTC
2.73 GB
95a544cac5279c485d634538dc8e09e31409b1fd4bbda9eecfd4db655ea70712
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.0-rc1-signed.msi
MONGO_VERSION5.0.0-rc1
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 58.62% (1.6 GB)
[#001] sha256:639bb6bb2beb4cfdcacb9f0844344448fe26494665d5fe78a494419f86fbb18f - 31.5% (880 MB)
[#002] sha256:ae7d2dc4b590128efeafd375d02122e65a2525623ac2be100c1a390caf8a4b49 - 0.0% (1.37 KB)
[#003] sha256:733362e7ca14b3487cc3a72ffa80e4c49876990d0488cf3d4d40bede3ae2baf4 - 0.0% (1.37 KB)
[#004] sha256:215938dec014e41d5ee612e1ebe4eb6778325d8a6ad2bf84db8ed3aea3267f14 - 0.0% (1.4 KB)
[#005] sha256:7aaedbdf28d1aec365c1b74e0b22e462ce8775ff88391692d271b17c1e994a23 - 0.0% (1.39 KB)
[#006] sha256:1060d1dfefa0f8169bc0332e6120d6a73e8391304a3f2287752eb0f4c2665f8a - 9.88% (276 MB)
[#007] sha256:979445fbcefc20b7fca8061bebbcdf3a8af3dcd94f5abec05984b29bf7b924b5 - 0.0% (1.41 KB)
[#008] sha256:cc8da9c52c5296ed9f6dc64042ccf0c8f784eaab2dcc7a9dc1643bcb1b6ca833 - 0.0% (1.37 KB)
[#009] sha256:8facd8f31f9b92f5ba06a782a390a19f5077ccfe1da6965362f0fff5a2f0fc02 - 0.0% (1.39 KB)
Apply image 1809-RTM-amd64
2021-06-06 04:28:43 UTCInstall update 1809-amd64
2021-06-09 13:15:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-06-10 21:38:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.0-rc1
2021-06-10 21:38:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.0-rc1-signed.msi
2021-06-10 21:38:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=95a544cac5279c485d634538dc8e09e31409b1fd4bbda9eecfd4db655ea70712
2021-06-10 21:40:33 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-06-10 21:40:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-06-10 21:40:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-06-10 21:40:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2021-06-10 21:44:24 UTC
6.11 GB
95a544cac5279c485d634538dc8e09e31409b1fd4bbda9eecfd4db655ea70712
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.0-rc1-signed.msi
MONGO_VERSION5.0.0-rc1
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 62.05% (3.79 GB)
[#001] sha256:2f52abeee6d6f4a925ad418b5e6200d4fca9bf92834ffc918b8bbaccd34251db - 33.47% (2.04 GB)
[#002] sha256:fa4e6085e5538e957ef06561fe1e62dff898da7f4bb577e81da74323aecab2d7 - 0.0% (1.26 KB)
[#003] sha256:11ec67bff12bdf84c3c81c69945ece1669b5a190ecda735f8ed9a88f79a5f4d9 - 0.0% (1.37 KB)
[#004] sha256:65c7779465a402a198bcb9c4ddbb21fb4e64c2d0c2e3dee6e97e179670c7adad - 0.0% (1.4 KB)
[#005] sha256:743ebb8618532c9605c00bd90f12fdae5b535b0eab0490948336913b46ea8a2f - 0.0% (1.4 KB)
[#006] sha256:0572a2cd760bb8f5af4c8958cb053267f10e693ca669ef1437d8076b5f961330 - 4.48% (280 MB)
[#007] sha256:f14c5a81ef3e856d823c271de98a905cc6d3d90efd61ea0b01f6244db4acb1e7 - 0.0% (1.4 KB)
[#008] sha256:0ed94ad056c9ca9fad9302bd8081a232cbf98231188919cb4bbd30402247e8a8 - 0.0% (1.3 KB)
[#009] sha256:4c8506c12dcc17c702790687f5704c086ccd50ebce23092f326dcff379e10bea - 0.0% (1.4 KB)
Apply image 1607-RTM-amd64
2021-06-06 15:37:00 UTCInstall update ltsc2016-amd64
2021-06-09 13:26:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-06-10 21:41:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.0-rc1
2021-06-10 21:41:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.0-rc1-signed.msi
2021-06-10 21:41:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=95a544cac5279c485d634538dc8e09e31409b1fd4bbda9eecfd4db655ea70712
2021-06-10 21:44:15 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-06-10 21:44:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-06-10 21:44:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-06-10 21:44:24 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.