sha256:67f484e92419400ca1fe01c9b8d16981964fe62e9bffe5dd1736dd4b6898c8b9
2022-11-09 18:24:16 UTC
2.79 GB
964a7e33927a8c01a6177daf0bf49f3ec17560b1b78f8be60ec641a03c55cb18
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.2-signed.msi
MONGO_VERSION6.0.2
[#000] sha256:a4aee932fccc1ec8135f290aca03a7c93dcc2536fc84723813ef9b95f6fd13ea - 49.22% (1.37 GB)
[#001] sha256:e276673195ed11807395b0da51ac20ef31c925ce955c29ad1bab54f14617c25b - 33.65% (961 MB)
[#002] sha256:edcc0cd10e58716558145d847bcea390e3840d172df19b8d0f08a57dd985262d - 0.0% (1.35 KB)
[#003] sha256:2181e1adb6da783ef737efe46eb9aa253d785a46843f0b8a12301b7337d15c04 - 0.0% (1.36 KB)
[#004] sha256:456decbcd5c74457855fbaf2b027f6819683fcb87441e6643f44542f9a5cdb56 - 0.0% (1.4 KB)
[#005] sha256:9d748c55105ec09d7403ba625dfe485918bbfec20a980bc1af45f3180a8dc909 - 0.0% (1.39 KB)
[#006] sha256:a889f81d86650d9c1bae3ce2ed0287812fc0680d580bf549d0f4a43715d6c133 - 17.12% (489 MB)
[#007] sha256:964d726a83c6a1293392e10654a23d7ef4998c6643bc87364213446e2904e5cd - 0.0% (1.36 KB)
[#008] sha256:244ae10be776babe53eef1e437574e8624aa0d9b7b3ea34386721d61af82ac7a - 0.0% (1.38 KB)
[#009] sha256:f7a8eed089b637c7348d6490113e5ed7391de0ecbda52eb9b92b869aa5a198c8 - 0.0% (1.39 KB)
Apply image 10.0.20348.643
2022-11-05 07:49:25 UTCInstall update 10.0.20348.1249
2022-11-09 14:41:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-11-09 18:22:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.2
2022-11-09 18:22:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.2-signed.msi
2022-11-09 18:22:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=964a7e33927a8c01a6177daf0bf49f3ec17560b1b78f8be60ec641a03c55cb18
2022-11-09 18:24: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=MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongod.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 ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2022-11-09 18:24:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-11-09 18:24:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-11-09 18:24:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
sha256:2eecef695ec74bd59d29fd578d4be6f56a5fd070d32351df46f030ab2a53a807
2022-11-09 18:28:04 UTC
3.07 GB
964a7e33927a8c01a6177daf0bf49f3ec17560b1b78f8be60ec641a03c55cb18
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.2-signed.msi
MONGO_VERSION6.0.2
[#000] sha256:a48a3e4ae2de839d8e99bde16eb91d113fb2cf889bba472d0c4274851b5fb402 - 58.47% (1.79 GB)
[#001] sha256:c26cc6e4f9eb1ae415a5ead6f884cac597bbd57efa6cd042c878d5b54c9d2091 - 25.96% (815 MB)
[#002] sha256:99941fb33972e616b231a8aadd93463fdfd5de6aece4aa6c470d2feec31839be - 0.0% (1.3 KB)
[#003] sha256:9c0fec38ff3c242baf141e10c6a5b81f008c9915acd4dd9cc327eaf296892c96 - 0.0% (1.41 KB)
[#004] sha256:537c68971b182ddb518477c6993accb024778f71f16894ed90390301eb7a7dbb - 0.0% (1.37 KB)
[#005] sha256:4f07b977aece83110fb1358d8b0863f8ae2635c61e505e11cbc078e175a12c50 - 0.0% (1.39 KB)
[#006] sha256:17aef8040e1f6a5348317cc5430061159238fc4f6004b23714a8a5b6a5b50e91 - 15.57% (489 MB)
[#007] sha256:c7866b495e26e50fe549700b9f846f7f279dbd5e27aaa6901017e8a414412681 - 0.0% (1.38 KB)
[#008] sha256:d6e8a72583964e2d9524c834c0288f7032834759c8d3f683776c31e66ab24423 - 0.0% (1.36 KB)
[#009] sha256:b494701b847f8225f597c05baec6c20bcd3464f492576d85be3260aff75ec192 - 0.0% (1.39 KB)
Apply image 10.0.17763.2803
2022-11-05 18:29:26 UTCInstall update 10.0.17763.3650
2022-11-09 14:50:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-11-09 18:24:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.2
2022-11-09 18:24:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.2-signed.msi
2022-11-09 18:24:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=964a7e33927a8c01a6177daf0bf49f3ec17560b1b78f8be60ec641a03c55cb18
2022-11-09 18:28:01 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=MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongod.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 ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2022-11-09 18:28:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-11-09 18:28:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-11-09 18:28:04 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.