2018-01-05 03:00:06 UTC
5.07 GB
6b650bdf62792fb44445edfee2100b9a8d861710348c8bbd3b93f56d11d5e7ea
MONGO_DOWNLOAD_URLhttp://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.4.10-signed.msi
MONGO_VERSION3.4.10
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 74.79% (3.79 GB)
[#001] sha256:449343c9d7e2919413898dc8a7e8780ef164b76a3b9dd19de104706edf05113a - 23.96% (1.21 GB)
[#002] sha256:7e8689c7b014746ecb94f640c979d8f83b6d8fa0afd27c93e33f46f2f0a68eed - 0.0% (1.17 KB)
[#003] sha256:02097f6a68c26f33c17204ffccb87065bb6c1dddf9292aabdc5d0cfd5e85f5ee - 0.0% (1.17 KB)
[#004] sha256:4556ca69527ee909f60b6fb4d531cafe45206281526cadcfde6f14335d9d68af - 0.0% (1.17 KB)
[#005] sha256:051995d82c52c619f43b898ff1617f3babffa147dbe1947c2c3d9d1b22ec837d - 0.0% (1.17 KB)
[#006] sha256:68069dd0d2b7ff3e611e3b0a6c0037abf1dc78e277089f153954918710519dd5 - 1.24% (64.6 MB)
[#007] sha256:8d0716c245a7299dc321097c8c2f74c8cd54ba39eb2336277d43eab2aaa4d188 - 0.0% (1.17 KB)
[#008] sha256:75e02cb68857161cbd6d8575fee89783ca7e13b497240a7f38e41f76f859ba6f - 0.0% (1.17 KB)
[#009] sha256:e03322bd68565b6e1b936ed40c538349761d037d248bd1cc710f927712f00c41 - 0.0% (1.16 KB)
Apply image 10.0.14393.0
2018-01-04 20:07:32 UTCInstall update 10.0.14393.2007
2018-01-05 02:38:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2018-01-05 02:57:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=3.4.10
2018-01-05 02:57:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.4.10-signed.msi
2018-01-05 02:57:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=6b650bdf62792fb44445edfee2100b9a8d861710348c8bbd3b93f56d11d5e7ea
2018-01-05 03:00:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); (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.';
2018-01-05 03:00:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2018-01-05 03:00:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017/tcp
2018-01-05 03:00:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod"]
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.