sha256:81afb0454496712528c4f6c3bc41f4ba4aeaac1934dbce4e75ca8202312d9810
2024-07-10 17:05:50 UTC
2.28 GB
3da3dc8c13ddb8405c230c8495d4412d9a847b6c24e937b63c6b67437984a175
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.27-signed.msi
MONGO_VERSION5.0.27
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 56.63% (1.29 GB)
[#001] sha256:5f0206d135152eb909f50159d6ca348a5aead199afacbafc000b770c1b0720f6 - 30.63% (716 MB)
[#002] sha256:d89452dfe7a6e5ba17998f6b25a3f826d7d02a975ff9bd993128283f149b514b - 0.0% (1.28 KB)
[#003] sha256:c088c55fcd936ddb18b54acccc9f98ea6cba9a756ba00e7a50c4f6ac5d487967 - 0.0% (1.25 KB)
[#004] sha256:19b2fd218d00147d32591bbaac522b4139ecc6603799688be32b11acaf7ac04b - 0.0% (1.25 KB)
[#005] sha256:2bb86097034e9040b32844a61c781de01beb8fe43c692a941b827c2557b17710 - 0.0% (1.28 KB)
[#006] sha256:407ef8b1741325d4acdf5877324a50e52ee468374833c1b2c96ac79ef01e3730 - 12.74% (298 MB)
[#007] sha256:707eab8f339ca74ca29a545716d8fc9cfb5fd96c76293a50be72801f013bdd8a - 0.0% (1.25 KB)
[#008] sha256:b12c89ee0a8d43b714a28f959a52c36563e7497e0aaa97bf8b9ccad83e12dd91 - 0.0% (1.25 KB)
[#009] sha256:ffcc152eceb2a43628175fc18b1dee586ae340af01c9a3288c6fe70da12f9655 - 0.0% (1.25 KB)
Apply image 10.0.20348.1787
2024-07-03 10:07:02 UTCInstall update 10.0.20348.2582
2024-07-10 17:04:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-07-10 17:04:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.27
2024-07-10 17:04:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.27-signed.msi
2024-07-10 17:04:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=3da3dc8c13ddb8405c230c8495d4412d9a847b6c24e937b63c6b67437984a175
2024-07-10 17:05:46 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.';
2024-07-10 17:05:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-07-10 17:05:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-07-10 17:05:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
sha256:e7501f1c60ed6a61cdcee02efe71455077b5050d45ee99e3f142f9c54c2c030e
2024-07-10 17:09:50 UTC
2.38 GB
3da3dc8c13ddb8405c230c8495d4412d9a847b6c24e937b63c6b67437984a175
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.27-signed.msi
MONGO_VERSION5.0.27
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 64.7% (1.54 GB)
[#001] sha256:b5f98e7fe87492b83d7775a348ae0c94412b638ab5bba1a80b03c3a547708acd - 23.04% (561 MB)
[#002] sha256:9e99c1a11afb87ad014a1c94a457b049d5ab1ce3b9f684e638b5eee3946b64fb - 0.0% (1.27 KB)
[#003] sha256:2b06085ee7dac76cc4903ae21a38828354a827cb315ce764a745b531dd024607 - 0.0% (1.27 KB)
[#004] sha256:d1f13ab97a0804b1d52c100627cebb037d203e66ddb049184cfd011655300057 - 0.0% (1.26 KB)
[#005] sha256:af5ed595f99cb113bba6e87c1cdaf1f9ba2d8eb43050548e1e8a0b388fff5c90 - 0.0% (1.27 KB)
[#006] sha256:e46dd163fdb375f0696d4301a242b79cde72ec1829bb21ce5b19ae4a9e141efe - 12.26% (298 MB)
[#007] sha256:02eae246a5a6e812ee73f002134df5a24ac4db7d3ff556fa45ca3340f2457b4e - 0.0% (1.27 KB)
[#008] sha256:0035915a803950919a5df1a04e7f57538daee2619f29311bc2c7f22e4e72642d - 0.0% (1.26 KB)
[#009] sha256:6baaba919747189687ecefedb1375de6a195ae2d713d5b0834ec9da95762809a - 0.0% (1.27 KB)
Apply image 10.0.17763.4499
2024-07-03 00:34:32 UTCInstall update 10.0.17763.6054
2024-07-10 17:08:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-07-10 17:08:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.27
2024-07-10 17:08:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.27-signed.msi
2024-07-10 17:08:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=3da3dc8c13ddb8405c230c8495d4412d9a847b6c24e937b63c6b67437984a175
2024-07-10 17:09:46 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.';
2024-07-10 17:09:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-07-10 17:09:48 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-07-10 17:09:50 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.