2019-03-20 11:50:42 UTC
3.45 GB
af71f53e1a1a92756b9c6c36c15cd6ec6be3cd292ef3636c8cd75d0216d0079f
MONGO_DOWNLOAD_URLhttps://downloads.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.1.9-signed.msi
MONGO_VERSION4.1.9
[#000] sha256:5847a47b8593f7c39aa5e3db09e50b76d42aa8898c0440c70cc9c69747d4c479 - 61.47% (2.12 GB)
[#001] sha256:7f4a716683dc03db3521ed040924c24ea9bd17c7f134c09bf22e33f6af33ade8 - 25.31% (893 MB)
[#002] sha256:b217250878f40ff58563b56494c3225f606f7bde90c1be1e82385924187428f2 - 0.0% (1.18 KB)
[#003] sha256:ae5b171e459f4e79cae72d4b56b75f55ac1f387650e5ae511d40becbadefca02 - 0.0% (1.17 KB)
[#004] sha256:9c5268c6c80bc0bc8eec6f2a550fb8ad4d4f0a274427581b8e15ef24aa0cfac3 - 0.0% (1.17 KB)
[#005] sha256:2ccdb1665db2dc66dad4728e68cba92bf69ac0d8ddfc8c4b344c430bb96c7fd8 - 0.0% (1.17 KB)
[#006] sha256:2b21ea7528fa2b0a6d66c1c3de6f773e638ae49d9ce7e1a08179c680e68e5544 - 13.22% (466 MB)
[#007] sha256:ac9693225a0e0ef07c355ee3e1e9651f3475aad79faa84d5a6b020441947573b - 0.0% (1.17 KB)
[#008] sha256:69c6cb141b0ceb9f6a2ec9f5522833190c4de8ec5ac5881ae90b00904807a884 - 0.0% (1.17 KB)
[#009] sha256:614ed12b2ac09f1f39d5b2c722492fe94d1dc2df1313a14b64a1e2155010f28f - 0.0% (1.17 KB)
Apply image 10.0.16299.15
2019-03-09 05:26:00 UTCInstall update 10.0.16299.1029
2019-03-15 09:46:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2019-03-20 11:30:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.1.9
2019-03-20 11:30:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.1.9-signed.msi
2019-03-20 11:30:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=af71f53e1a1a92756b9c6c36c15cd6ec6be3cd292ef3636c8cd75d0216d0079f
2019-03-20 11:50:37 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'); 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.';
2019-03-20 11:50:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2019-03-20 11:50:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2019-03-20 11:50:42 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.