2023-06-30 23:32:06 UTC
1.81 GB
41dabd0f59813c675f6973201374800b300800060839968b9fda7371423061b1
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.7-signed.msi
MONGO_VERSION6.0.7
[#000] sha256:0ce49598e7371c2c318cfa408f639c917d1f43843fb9e0a3316db1ba7fbb14db - 73.37% (1.33 GB)
[#001] sha256:369acdd1cf7c4d89f87cf3df6c1a935d83dad0afd57c96dcd7251a04481546a0 - 0.0% (1.26 KB)
[#002] sha256:fb8d6c89a14c30237871e39cf3fb9e6ebf20a331973fab79d4a7a98714b5b0aa - 0.0% (1.4 KB)
[#003] sha256:c254845ec47c413241173bdf59339bc56c2dd26a30308558c9c0f9fc6fd48cde - 0.0% (1.41 KB)
[#004] sha256:d2c2d139fff533ed1908f21e68492f9ec30f537caf88bb70379859b9abab3fa3 - 0.0% (1.35 KB)
[#005] sha256:cdc860035266b47b92d958e403fc6c52ca1dcfdabf7e94dee077874c00d9b7c2 - 26.63% (494 MB)
[#006] sha256:7705f73643deac226b5539bc789b822605f98879a0832121274cea3734f5bac1 - 0.0% (1.38 KB)
[#007] sha256:6c62323e440122f72ec31fff1e4654cda6fe3c1517f6bd45c052d044abd5bce5 - 0.0% (1.36 KB)
[#008] sha256:b844def3e97542d3e176c0103a4fee6b482a10366c7c7dc17399038577cd3938 - 0.0% (1.34 KB)
Apply image 10.0.20348.1787
2023-06-24 02:25:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-06-30 23:30:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.7
2023-06-30 23:30:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.7-signed.msi
2023-06-30 23:30:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=41dabd0f59813c675f6973201374800b300800060839968b9fda7371423061b1
2023-06-30 23:32:02 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-06-30 23:32:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-06-30 23:32:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-06-30 23:32:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2023-06-30 23:34:21 UTC
2.02 GB
41dabd0f59813c675f6973201374800b300800060839968b9fda7371423061b1
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.7-signed.msi
MONGO_VERSION6.0.7
[#000] sha256:b1471cc22404d036d95728a9c37c1e3f025a1f0a331072c8613e38cf8f7ff1ed - 76.13% (1.54 GB)
[#001] sha256:ed9634b679e6c602a6aaf0bae51625e7ca041489c77150db557640304f51bb37 - 0.0% (1.37 KB)
[#002] sha256:4a307fac960c5ab587a74c6a52793636337c1fb8be19a1606b125e60abfbd17c - 0.0% (1.38 KB)
[#003] sha256:4f0853bd64323c5c83fb0cd3ffa295c5c2c04ce4d067916f3a4e03522c2023f3 - 0.0% (1.36 KB)
[#004] sha256:bd92a34f4fe0ef067dd91ca0f2fed7bc3f71aff01f194c968015743318c18787 - 0.0% (1.38 KB)
[#005] sha256:146e83a613bd06812fd98bb7bfc0681f082481dd8be04495f71f99ebb5a6e888 - 23.87% (494 MB)
[#006] sha256:92437d4c9785f7a5b9a89d3b174596de346aef1fbdc7b8d10875ea79fb279a2f - 0.0% (1.36 KB)
[#007] sha256:83149c6e4f5aee6cf435ab3ee11f2485e23732d6b29ef638065de814a04e634f - 0.0% (1.34 KB)
[#008] sha256:6b0d320ea910bea1472ae3d2fb7c1a0de8240409efcf5ff7c1ce4fac269e91e3 - 0.0% (1.29 KB)
Apply image 10.0.17763.4499
2023-06-24 02:28:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-06-30 23:32:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.7
2023-06-30 23:32:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.7-signed.msi
2023-06-30 23:32:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=41dabd0f59813c675f6973201374800b300800060839968b9fda7371423061b1
2023-06-30 23:34:17 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-06-30 23:34:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-06-30 23:34:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-06-30 23:34:21 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.