2022-01-12 03:57:57 UTC
2.28 GB
9a3b5cb9035c9701bfbc4e8bdef637b5380de73d5d22fdc38d6e543dde80847e
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.12-rc1-signed.msi
MONGO_VERSION4.4.12-rc1
[#000] sha256:8f616e6e9eec767c425fd9346648807d1b658d20ff6097be1d955aac69c26642 - 51.08% (1.17 GB)
[#001] sha256:9b593686e27e7562a5b0696823307ffa822214cee8bd2eec1075eadad4cb9712 - 39.01% (912 MB)
[#002] sha256:304b58b2bd8a968bdbcff36b25fec940dbb658b60fa8fb3695b63e3e2a4cdcff - 0.0% (1.4 KB)
[#003] sha256:7e74fa29ae5afd10a42eefd10f12d3d8cd560464786f004c43d5dffe7321583e - 0.0% (1.38 KB)
[#004] sha256:6412fe4e5258ee5e6bb09cea0df4c10bfbfd83705b025b13801cda09423eb64d - 0.0% (1.38 KB)
[#005] sha256:585a23a0f4dea9d6b6afa95113d3125e5eda993b02a3164b5c71ae9f8cc962ab - 0.0% (1.39 KB)
[#006] sha256:176e7672bc2c00592b57cd4a038d116fb3cc842915a380e5fb80a5b1d8f379ec - 9.91% (232 MB)
[#007] sha256:37a519e2c98d7cbba6db9b07991d9b45d543e62ae350c934cf253c7c3bc707b5 - 0.0% (1.4 KB)
[#008] sha256:acd82aba0be89379f79c001618837f1af7786da709f41e42e7a96b2aac4f6a7a - 0.0% (1.36 KB)
[#009] sha256:f14a4fc87708615721b37816a550971b6494850450f6237b844e02677b7146e4 - 0.0% (1.36 KB)
Apply image 2022-RTM-amd64
2022-01-06 03:56:33 UTCInstall update ltsc2022-amd64
2022-01-11 19:59:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2022-01-11 20:00:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.12-rc1
2022-01-11 20:00:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.12-rc1-signed.msi
2022-01-11 20:00:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=9a3b5cb9035c9701bfbc4e8bdef637b5380de73d5d22fdc38d6e543dde80847e
2022-01-12 03:57:52 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\mongo.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-01-12 03:57:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2022-01-12 03:57:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2022-01-12 03:57:57 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.