2020-06-10 20:25:04 UTC
2.18 GB
f425095e7f7ba93d98c60a13ff9c45a3459416d5bc0e61ea4798434e8219928b
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.0-rc8-signed.msi
MONGO_VERSION4.4.0-rc8
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 73.31% (1.6 GB)
[#001] sha256:666079ee04606f07f4a27dd98526f5049ef8fed93e347d8b4c447b0d5060c77d - 24.56% (549 MB)
[#002] sha256:b11029314f3c794dc51e43c915b3e62f6b44aeb96f84b8b92f453e61cf7a2cb3 - 0.0% (1.1 KB)
[#003] sha256:57006302bd9d99d8e8d6f36a9f80cc59ad0c892e27897d19f8504a9d6660b0e9 - 0.0% (1.12 KB)
[#004] sha256:a1fd34df8ea239b4137ff6c8c158009bfa82beddda3009ce384ec4fbec9d4fa2 - 0.0% (1.13 KB)
[#005] sha256:9b5fca404787d494382283d397415ecf9caf992cd4c3dab33c0633aff6630bdc - 0.0% (1.14 KB)
[#006] sha256:fee8f81e945d4d7500f74f9a37f44e680b7fcb56b04d39f7948232316a5728a1 - 2.14% (47.8 MB)
[#007] sha256:9cc422663b90c2774aae3d1812a5ea256afcd78eac49a48311ed30da103580f1 - 0.0% (1.12 KB)
[#008] sha256:3f6e173c0dd7fe01c53e501275ed2877b817d8a12584da03725079c3c31ee7a6 - 0.0% (1.07 KB)
[#009] sha256:3e87ec4b54452e207603f8f11ccea801f5946490e1c43fb92fc6603775d8f195 - 0.0% (1.09 KB)
Apply image 1809-RTM-amd64
2020-06-04 01:48:42 UTCInstall update 1809-amd64
2020-06-10 12:43:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2020-06-10 20:10:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.0-rc8
2020-06-10 20:10:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.0-rc8-signed.msi
2020-06-10 20:10:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=f425095e7f7ba93d98c60a13ff9c45a3459416d5bc0e61ea4798434e8219928b
2020-06-10 20:25: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', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=all' ); $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:\mongodb\bin\*.pdb -Force; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2020-06-10 20:25:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2020-06-10 20:25:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2020-06-10 20:25:04 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.