2022-09-14 18:32:36 UTC
2.41 GB
0b6606a06c438c09777807e7637031e3efc2347bd9c60432b1be4a33f1f59045
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.16-signed.msi
MONGO_VERSION4.4.16
[#000] sha256:97f65a0ec59e643faf84024aa713a9be059322380315fda829756bbbd96d6258 - 55.45% (1.34 GB)
[#001] sha256:4486102fd3820ed9527fa3e7bfefa8305c2f054e65b46dffe9675755e3d8f288 - 35.12% (868 MB)
[#002] sha256:a16438b2cffe7980c606769d49003f7f1c4d27549445f824511a81834513616a - 0.0% (1.39 KB)
[#003] sha256:9489453e05e862607355c418219af63c525762d8b9fb3cb3be0b5a4972a857b4 - 0.0% (1.4 KB)
[#004] sha256:4ac21072ceadf5ecf9061514c6c47564df61f42dbdfb576abcbb083268197fd1 - 0.0% (1.41 KB)
[#005] sha256:23b5ab0c3cae4ddb0bb654d2c89ddeea013a9c35f67d9ad29e8610283fec7d6f - 0.0% (1.39 KB)
[#006] sha256:beb9c49187e84d46c7fceef3a27722f8b0a8b3520d05bb16ff8fc1d82a7018c0 - 9.43% (233 MB)
[#007] sha256:81663e953bc4d0e8de93ce9e4c0dc08998133bdd9a2998923243ecf4ba46d062 - 0.0% (1.3 KB)
[#008] sha256:fda46afbf8bcaf38bec296a7112ae654190ca1d08a3785617213509b5ce65a6e - 0.0% (1.24 KB)
[#009] sha256:ce8235db0c6ffdc98974298c4287c6d6eb7d7fbbfe3162d80794713a3d65afbe - 0.0% (1.26 KB)
Apply image 10.0.20348.643
2022-09-08 20:30:55 UTCInstall update 10.0.20348.1006
2022-09-14 13:31:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-09-14 18:31:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.16
2022-09-14 18:31:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.16-signed.msi
2022-09-14 18:31:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=0b6606a06c438c09777807e7637031e3efc2347bd9c60432b1be4a33f1f59045
2022-09-14 18:32: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\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-09-14 18:32:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-09-14 18:32:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-09-14 18:32:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2022-09-14 18:35:04 UTC
2.75 GB
0b6606a06c438c09777807e7637031e3efc2347bd9c60432b1be4a33f1f59045
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.16-signed.msi
MONGO_VERSION4.4.16
[#000] sha256:b111c3320c949bea81612bf4554f1b6592c2f504920b5bf57ba340a1d4d52c93 - 63.68% (1.75 GB)
[#001] sha256:cee64bf279e2ca8e924884a10ecb98bfa79c7f0cc8d25e73039b9aeb940815b6 - 28.04% (788 MB)
[#002] sha256:3c428406510f0a47ed60f28060a7d625d42344a95fdcb7c4f5746fb8857c3328 - 0.0% (1.38 KB)
[#003] sha256:f5e8b6a1f197ecb397d7816aaae5fdb7ef1a143758d7bcf3ed9a236b8fe87e2f - 0.0% (1.27 KB)
[#004] sha256:21e790ef6c256d0bfecdfab4f4e45ae85b59f704e2d6a8a5f41c7ca4305f0c3d - 0.0% (1.33 KB)
[#005] sha256:df9c2edef255a4c3d73a64ba1371df75db62349e16fcd4b788502a6840a6a7d4 - 0.0% (1.29 KB)
[#006] sha256:b9601c12b4b0ea112b26ecc4fbe7c59a9c8e754028439be888a83b364b345051 - 8.28% (233 MB)
[#007] sha256:3ad88e05725022f2fc9e8f61f18103d66f198df5a8e2c767fe85f0c243afb65a - 0.0% (1.28 KB)
[#008] sha256:9a95f172c95d7e9ca4d93e9f7194ed6a1c662f13d3a1cb3ed138659e37e1b472 - 0.0% (1.29 KB)
[#009] sha256:8d74bc7fbb3f8e46523e4f975eb7130a89e02e3147a9115f3aa7409eb4af742b - 0.0% (1.29 KB)
Apply image 10.0.17763.2803
2022-09-09 22:43:02 UTCInstall update 10.0.17763.3406
2022-09-14 13:39:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-09-14 18:32:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.16
2022-09-14 18:32:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.16-signed.msi
2022-09-14 18:32:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=0b6606a06c438c09777807e7637031e3efc2347bd9c60432b1be4a33f1f59045
2022-09-14 18:35: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=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-09-14 18:35:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-09-14 18:35:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-09-14 18:35: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.