2021-07-22 22:18:37 UTC
2.77 GB
c0476ee7f9c28547fa60db24fe44ef61fa9c18b0951d9b2ce99727a69b254244
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.1-signed.msi
MONGO_VERSION5.0.1
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 57.74% (1.6 GB)
[#001] sha256:f143c6fed32d477c35b660b2e108ea62e3593c03e44bd9ced208ce52b26b0841 - 32.5% (922 MB)
[#002] sha256:adcec6ff907307155c0652222cc9b95a0cc964d4c371e02767e72a5c90472192 - 0.0% (1.39 KB)
[#003] sha256:65aadfe622c8c3311421f6268d95ce15ff58a23bb0aa6a136d385616a5d6c913 - 0.0% (1.39 KB)
[#004] sha256:1c5d5d03053278240b705945fa6f88fa04da7d15fd909b252a7fd99796c1f36a - 0.0% (1.39 KB)
[#005] sha256:162901521ca021a9f232e1b148f25f6271876aeeebce8f4cc9d5528148f1c880 - 0.0% (1.4 KB)
[#006] sha256:3df2e9c4d2ff810f0a437418c46bd5d677c18e41e5e641f9cbcc67710ddf7040 - 9.76% (277 MB)
[#007] sha256:d091560d699bc83b09ffde5482e3abfcf80953c023a5fa52f4013487af24f46f - 0.0% (1.4 KB)
[#008] sha256:cf3c31911a70b2b8b542f179542017f86b81392a71d117ce50d5d21136e7a857 - 0.0% (1.37 KB)
[#009] sha256:a0e4b3fe67b2cbee922be4798403852188fd44d4d1a8256eb6c206c8b16e946a - 0.0% (1.4 KB)
Apply image 1809-RTM-amd64
2021-07-06 20:34:18 UTCInstall update 1809-amd64
2021-07-14 01:07:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-07-22 22:15:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.1
2021-07-22 22:15:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.1-signed.msi
2021-07-22 22:15:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=c0476ee7f9c28547fa60db24fe44ef61fa9c18b0951d9b2ce99727a69b254244
2021-07-22 22:18:29 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-07-22 22:18:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-07-22 22:18:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-07-22 22:18:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2021-07-22 22:22:15 UTC
6.11 GB
c0476ee7f9c28547fa60db24fe44ef61fa9c18b0951d9b2ce99727a69b254244
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.1-signed.msi
MONGO_VERSION5.0.1
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 62.0% (3.79 GB)
[#001] sha256:a567de41cc349380b25967f180fb1b6b2431bda61ccaaf69d78a33bc9523614a - 33.51% (2.05 GB)
[#002] sha256:fed351b78c876c55ec9c7e75d3b9d1b146c5c5dfeb4b5480c0a7c384322df98c - 0.0% (1.41 KB)
[#003] sha256:43b0dd1e685128a4f306d8b641f920031316432abc3fd963c00bc1e583c68982 - 0.0% (1.4 KB)
[#004] sha256:33c647aefb6262461a140f17b4b95f3c6d21c6594012ce2093e7db39ebb3becf - 0.0% (1.4 KB)
[#005] sha256:ae6699eb45256548509e871c67a239ba8fdb5de1de1981a692a87a523566bf5b - 0.0% (1.42 KB)
[#006] sha256:6d6d75d62666d72ca2ca8933bab2d3e4cffc3bb538bea05d9a555c3b64745cd4 - 4.49% (281 MB)
[#007] sha256:5fcc0da8a37107edf565b16c768e26a649550b31cbcd31336fe95d1fd7632980 - 0.0% (1.25 KB)
[#008] sha256:1060f6477d49856b5a8c6c192ef62845188b106c0cfc0394889ef563fef50fd6 - 0.0% (1.26 KB)
[#009] sha256:0f2a14eb59f1ad591b8faa4844429d0fc5067253f4685cf118c4f0b3a4c7130f - 0.0% (1.24 KB)
Apply image 1607-RTM-amd64
2021-07-09 05:02:00 UTCInstall update ltsc2016-amd64
2021-07-14 01:14:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-07-22 22:18:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.1
2021-07-22 22:18:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.1-signed.msi
2021-07-22 22:18:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=c0476ee7f9c28547fa60db24fe44ef61fa9c18b0951d9b2ce99727a69b254244
2021-07-22 22:22:06 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-07-22 22:22:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-07-22 22:22:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-07-22 22:22:15 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.