sha256:ec73691574d2aa48d48c4ece9a538908ce6332b2be03143f37d66db622b76bac
2022-11-09 18:33:27 UTC
2.6 GB
f9b1e144822887bb361ad218967f4cbfdedb6d59e70b12b564b4b63a4d5cbf6f
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.13-signed.msi
MONGO_VERSION5.0.13
[#000] sha256:a4aee932fccc1ec8135f290aca03a7c93dcc2536fc84723813ef9b95f6fd13ea - 52.77% (1.37 GB)
[#001] sha256:e276673195ed11807395b0da51ac20ef31c925ce955c29ad1bab54f14617c25b - 36.08% (961 MB)
[#002] sha256:edcc0cd10e58716558145d847bcea390e3840d172df19b8d0f08a57dd985262d - 0.0% (1.35 KB)
[#003] sha256:85f1ed794ca633dd3043489f04b65634163d54fe127015eded0dc6ffe0e1490c - 0.0% (1.39 KB)
[#004] sha256:9e00d6958353eb71d950d38e1fe80a6a4236ee641e131fb8e615b38d69121cb1 - 0.0% (1.4 KB)
[#005] sha256:c28910c0531e0c624b16943a64f431680c4fb384fcb7325851d7a5782988d937 - 0.0% (1.41 KB)
[#006] sha256:dc349fd8a2b21ee0480cf833a93236890c8ef8387b5bd9756f33c98014a6dae7 - 11.14% (297 MB)
[#007] sha256:2206b677867745ce6697867b5d067a6ad96d22879e1b778f08e451d0b4917dd2 - 0.0% (1.27 KB)
[#008] sha256:39e150b31fe9fe1abe3df85f31a3cd7d4952911ef00e207273c0a423d4c8f171 - 0.0% (1.25 KB)
[#009] sha256:39425af5df292019f9e337102c5867b179751d20e4d60b30b861f6bbf5125b62 - 0.0% (1.26 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:31:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.13
2022-11-09 18:31:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.13-signed.msi
2022-11-09 18:31:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=f9b1e144822887bb361ad218967f4cbfdedb6d59e70b12b564b4b63a4d5cbf6f
2022-11-09 18:33:24 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\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 ' 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-11-09 18:33:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-11-09 18:33:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-11-09 18:33:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
sha256:33ad86705ba21bbf2a5e686833710d42d81e44632b2e3e73d4a6f152f0c2cacc
2022-11-09 18:36:20 UTC
2.88 GB
f9b1e144822887bb361ad218967f4cbfdedb6d59e70b12b564b4b63a4d5cbf6f
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.13-signed.msi
MONGO_VERSION5.0.13
[#000] sha256:a48a3e4ae2de839d8e99bde16eb91d113fb2cf889bba472d0c4274851b5fb402 - 62.28% (1.79 GB)
[#001] sha256:c26cc6e4f9eb1ae415a5ead6f884cac597bbd57efa6cd042c878d5b54c9d2091 - 27.65% (815 MB)
[#002] sha256:99941fb33972e616b231a8aadd93463fdfd5de6aece4aa6c470d2feec31839be - 0.0% (1.3 KB)
[#003] sha256:f01c2ba8482092a442d0068bd41660e28e38bb439a5d100aad39c482ca731862 - 0.0% (1.3 KB)
[#004] sha256:f94877b2329abb8eb1c778e441f24799ca7e9b4ff897ca023a25dbf84fb4830a - 0.0% (1.26 KB)
[#005] sha256:fbf54bf74a5c999c26c5e57322fcfdd4e6d6699cd6d68878cdef7e687daddec1 - 0.0% (1.29 KB)
[#006] sha256:25098a9a92a79b96c0f825f171c8dfd75a7a9ced2a9e5ec56c14a81a5eafb4ac - 10.07% (297 MB)
[#007] sha256:a08c43056087a3ad35bcae9b4f573e0b2965a9c4268522596f28405ea95f6cf8 - 0.0% (1.29 KB)
[#008] sha256:75101d079246176e36ce0968969584c0a45ba144f46a4e4afd35fb8d460625fb - 0.0% (1.29 KB)
[#009] sha256:852c2f05ebcfacdf9d549800915ff1801a7648c6a88077207ed71b9bf1be5978 - 0.0% (1.29 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:33:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.13
2022-11-09 18:33:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.13-signed.msi
2022-11-09 18:33:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=f9b1e144822887bb361ad218967f4cbfdedb6d59e70b12b564b4b63a4d5cbf6f
2022-11-09 18:36:16 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\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 ' 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-11-09 18:36:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-11-09 18:36:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-11-09 18:36:20 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.