sha256:9d13114064afbb61e5b6ba2ab1332891d07d88250ab1c01f71cd26cd5f9390ba
2023-09-13 03:56:21 UTC
2.28 GB
bcdcdc445e53106f6c596304061529c055cda6f23cc06fe8adcc7f7c41c64d99
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.1-signed.msi
MONGO_VERSION7.0.1
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 56.68% (1.29 GB)
[#001] sha256:feca8e06011ab171ad74cda49c7c305e791965aef283d5b7c2b987dd5388e6c7 - 18.31% (428 MB)
[#002] sha256:19f19fc66ee381d7fb9811b24aea9ed1dff8ef483bc0e019d3c24c09fb8fbecd - 0.0% (1.35 KB)
[#003] sha256:dd0029ad3474e3d7133b3d70f7639476d0fc94ae22ba2fda09467c653ee4636b - 0.0% (1.34 KB)
[#004] sha256:1a900b49f75a7a7279a5ee8cb0c70202bf65cfeec06cb76fe3e0fee52d2df318 - 0.0% (1.33 KB)
[#005] sha256:cf108ce64c000eca6779d5792da89c7d518f61a4af402122221bee0364ec3d2a - 0.0% (1.39 KB)
[#006] sha256:32ad51db2978b895017222f859851c377cd9d13382bdbd57258d036314acde21 - 25.01% (584 MB)
[#007] sha256:e65fcb8ed0c7a40dc12933450886cee77436ca95a98580799980184c629e62fb - 0.0% (1.4 KB)
[#008] sha256:2bad7e6a670987202a4b0476cacf539f12acede747d85bdf88fffa8dcaa3a506 - 0.0% (1.38 KB)
[#009] sha256:4ddd300a4d02ae9f89b1f9a0e5530c431d957ded0a87e675b8a6c71a0dc15681 - 0.0% (1.39 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 03:53:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.1
2023-09-13 03:53:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.1-signed.msi
2023-09-13 03:53:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=bcdcdc445e53106f6c596304061529c055cda6f23cc06fe8adcc7f7c41c64d99
2023-09-13 03:56:18 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 03:56:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-09-13 03:56:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-09-13 03:56:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
sha256:9beadbd700fd6a9a077eccccedefca451b634ed86ba5b0ad3ab3abca04d52698
2023-09-13 04:00:08 UTC
2.45 GB
bcdcdc445e53106f6c596304061529c055cda6f23cc06fe8adcc7f7c41c64d99
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.1-signed.msi
MONGO_VERSION7.0.1
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 62.78% (1.54 GB)
[#001] sha256:179757339e051b99f9a62375fed8f87ffcc4df0eeedb984d20b485bdd089ad08 - 13.91% (349 MB)
[#002] sha256:5b21bbf840142288ae2bce3465085b591133cf10f78f7dda43277db4838332d8 - 0.0% (1.34 KB)
[#003] sha256:f7f4a6f2a7858242d9ca188c91efdcfc9ed8d2fe0c65896f57bf2569e07acafd - 0.0% (1.34 KB)
[#004] sha256:0ccdc772231461649c4cc3125c785b7139a75e7660c54d12028fb4a0c6155c8e - 0.0% (1.4 KB)
[#005] sha256:de315aa6301a93362366a1d06f2583d13fc43b4025601f478c094103cd6de599 - 0.0% (1.4 KB)
[#006] sha256:0f3e7d2eb8ea6807138b76053119ef04d9e9aa562080e674f02d74b3e057b277 - 23.31% (584 MB)
[#007] sha256:54fc5245a35e897b8c60223b51b8e517c5f817380908195aece91aa8bf8f7100 - 0.0% (1.36 KB)
[#008] sha256:fb10459f8c8e98a96b3335074bdb2945cac012a2e43a927c19f2a496ae8451dd - 0.0% (1.38 KB)
[#009] sha256:801fb60f6f0c1ea225dfb7dbc779903f9838162beb4694139e5ee19b32288605 - 0.0% (1.37 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 03:56:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.1
2023-09-13 03:56:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.1-signed.msi
2023-09-13 03:56:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=bcdcdc445e53106f6c596304061529c055cda6f23cc06fe8adcc7f7c41c64d99
2023-09-13 04:00:05 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:00:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-09-13 04:00:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-09-13 04:00:08 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.