2023-09-13 04:05:04 UTC
2.2 GB
f5068da57e14d41ee5d8dcdde3561f96e1ec3aac3486307b5bb4ac82690662e5
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.10-rc0-signed.msi
MONGO_VERSION6.0.10-rc0
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 58.91% (1.29 GB)
[#001] sha256:feca8e06011ab171ad74cda49c7c305e791965aef283d5b7c2b987dd5388e6c7 - 19.03% (428 MB)
[#002] sha256:19f19fc66ee381d7fb9811b24aea9ed1dff8ef483bc0e019d3c24c09fb8fbecd - 0.0% (1.35 KB)
[#003] sha256:ac5531e017e61c67b6196cc8cdeec16d627014ef1198162a9cf96fffffd4eb23 - 0.0% (1.26 KB)
[#004] sha256:f6deb445fcf5b6063b8c9914eb2f3f8c5e5d7d5d0b346bd9099adeb4e7a0f94c - 0.0% (1.29 KB)
[#005] sha256:2ef87b67bd3ca693838dbf3e69ab78aa5ad58d8206372166dbfdc273c0477d2f - 0.0% (1.37 KB)
[#006] sha256:b5ba82e5eaf4c0ab098e6928fe8089ef956e210b6f407ea3a7a7ff537b1757e1 - 22.06% (496 MB)
[#007] sha256:07a271c313bf80b6070ad60ab1a7649ce99b010ce679bb4e772381a068474165 - 0.0% (1.25 KB)
[#008] sha256:c57e8ed6b0c4fc59c597df30c867bb64dbbe026210ae6f8be4654942883f1247 - 0.0% (1.26 KB)
[#009] sha256:16a95adf696582349b2a58696c3b1ec24a61ff0f348daf99d5187e751865d68c - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2023-09-01 00:43:48 UTCInstall update 10.0.20348.1970
2023-09-13 03:53:57 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-09-13 04:03:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.10-rc0
2023-09-13 04:03:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.10-rc0-signed.msi
2023-09-13 04:03:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=f5068da57e14d41ee5d8dcdde3561f96e1ec3aac3486307b5bb4ac82690662e5
2023-09-13 04:05:00 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.';
2023-09-13 04:05:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-09-13 04:05:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-09-13 04:05:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2023-09-13 04:08:05 UTC
2.36 GB
f5068da57e14d41ee5d8dcdde3561f96e1ec3aac3486307b5bb4ac82690662e5
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.10-rc0-signed.msi
MONGO_VERSION6.0.10-rc0
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 65.08% (1.54 GB)
[#001] sha256:179757339e051b99f9a62375fed8f87ffcc4df0eeedb984d20b485bdd089ad08 - 14.42% (349 MB)
[#002] sha256:5b21bbf840142288ae2bce3465085b591133cf10f78f7dda43277db4838332d8 - 0.0% (1.34 KB)
[#003] sha256:bae3a5d8d0aa8447894a77250690673134d1d6c770b25babef159beb7ac7d8ee - 0.0% (1.33 KB)
[#004] sha256:e9c531d29c6a0fe18784072a1692dbaa1f845dfd9c472d01910d53652b7c067f - 0.0% (1.3 KB)
[#005] sha256:d1694c8255f8afccce2e8952382c0b49f0f4d349a5411c43bf488ad0443a1f78 - 0.0% (1.26 KB)
[#006] sha256:5288e33a6f82336aa9b8b1573185c80f6319fd0995b65105c1914cb7d2191c2f - 20.5% (496 MB)
[#007] sha256:a6bd4455ae176ce96946e9c8da1e536a679e0715fa4f9eb51c0d6f0533099475 - 0.0% (1.36 KB)
[#008] sha256:f82b5188b8accac06ccc00ce5a7c5c53cb5c22dea855c290d21efb32e764fe31 - 0.0% (1.4 KB)
[#009] sha256:2a0d61b7a005362f0a86a1262159ab2f1569d0803292df1624ca46a973dedd33 - 0.0% (1.38 KB)
Apply image 10.0.17763.4499
2023-08-29 17:09:18 UTCInstall update 10.0.17763.4851
2023-09-13 03:56:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-09-13 04:05:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.10-rc0
2023-09-13 04:05:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.10-rc0-signed.msi
2023-09-13 04:05:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=f5068da57e14d41ee5d8dcdde3561f96e1ec3aac3486307b5bb4ac82690662e5
2023-09-13 04:08: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.';
2023-09-13 04:08:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-09-13 04:08:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-09-13 04:08:05 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.