2019-07-10 22:50:12 UTC
5.4 GB
682c5913d551d3508cb3446fe4929ae97552b5a344469855b58c9473f4f58dd6
MONGO_DOWNLOAD_URLhttps://downloads.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.1.13-signed.msi
MONGO_VERSION4.1.13
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 70.17% (3.79 GB)
[#001] sha256:a816556df6ab81da5fe05f09f52050098042b11001ccce80336f3c312a840d65 - 28.25% (1.53 GB)
[#002] sha256:569687b16c6d860ffcbe521b5cf3f3564df9d3abcfe21ebf8b766651bb5d68d3 - 0.0% (1.18 KB)
[#003] sha256:a0b57fff9f802bb9f109707e4ec77c57fcd359d9b0ccb58522b61b0f2bc9bcbb - 0.0% (1.16 KB)
[#004] sha256:765631d625de10376b5c09546e03701aabed35fbe175db356877c29826faf445 - 0.0% (1.18 KB)
[#005] sha256:67ddc2c3cb0530f589ccc2f3aec1f9c8cd7998f40788eaeb617d055dd98c440e - 0.0% (1.19 KB)
[#006] sha256:b0813f8a393f18583a9fe650b5e1caf365c512ae95a0a18b3718e7d525d20113 - 1.58% (87.5 MB)
[#007] sha256:1d5224768b1ab47a4a2ab15e73842d9193554ab45bd499c4cab83ea0605c5828 - 0.0% (1.18 KB)
[#008] sha256:ebb6025132280c60af07c9df5be5b01c8afca7165647e925b0e9e7aa9082c0f6 - 0.0% (1.15 KB)
[#009] sha256:6b7a2c127b80b555904f14badd9aa00fe09f16a217feffb9928177509e0d57f2 - 0.0% (1.16 KB)
Apply image 1607-RTM-amd64
2019-07-05 15:56:18 UTCInstall update ltsc2016-amd64
2019-07-10 14:30:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2019-07-10 22:40:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.1.13
2019-07-10 22:40:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.1.13-signed.msi
2019-07-10 22:40:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=682c5913d551d3508cb3446fe4929ae97552b5a344469855b58c9473f4f58dd6
2019-07-10 22:50:07 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-07-10 22:50:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2019-07-10 22:50:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2019-07-10 22:50:12 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.