2016-08-31 16:20:37 UTC
3.53 GB
1d06487bc1c85bd0bee6e1e8103c990cc19a4455d4dbb09f2527a89a173b3872
MONGO_DOWNLOAD_URLhttp://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.3.12-signed.msi
MONGO_VERSION3.3.12
[#000] sha256:1239394e5a8ab79fbd3b751dc5d98decf5886f14339958fdf5c1f96c89da58a7 - 91.38% (3.22 GB)
[#001] sha256:be0175dbdd12c150c89a273c6ae8a093858f186a1b130670b81917d39cfc62c3 - 0.0% (1.32 KB)
[#002] sha256:dfe883eff4994fbceb894d01dd7cc6bd7e3ab5903f730c7144ea2e799aa566a5 - 0.11% (3.87 MB)
[#003] sha256:fa3c49989aef9af2407efb740d36da08afaa13fed43befd1d7c7ec679aab6693 - 0.0% (1.31 KB)
[#004] sha256:5d49f0d697447b81b19cbfda52ae5d38369436708686915d4b80ead3425a24c3 - 0.0% (1.31 KB)
[#005] sha256:17f14943ea0406bd25eb15b26e4c9e797edb0d557211c00e8ef58bbb8665b881 - 0.0% (1.32 KB)
[#006] sha256:b0333d1baaa86a8dfef09a46e09cbdbe2a245535c296eaaf94299cc23bc4fbd6 - 8.51% (307 MB)
[#007] sha256:17680bc4ca912de4a9de850f400762a3144822dfb4c8e3793afed3399553e97b - 0.0% (1.31 KB)
[#008] sha256:6d873f05b3753dac7509a628695c7872ed9386f29bbca7eed25540632ee81731 - 0.0% (1.33 KB)
[#009] sha256:f477c9643ddedce6a61bb9c7875efce78b3b3a12fb52a45678865b9906953ca0 - 0.0% (1.31 KB)
powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2016-08-17 20:30:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; [Environment]::SetEnvironmentVariable('PATH', 'C:\mongodb\bin;' + $env:PATH, [EnvironmentVariableTarget]::Machine);
2016-08-31 16:16:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=3.3.12
2016-08-31 16:16:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.3.12-signed.msi
2016-08-31 16:17:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=1d06487bc1c85bd0bee6e1e8103c990cc19a4455d4dbb09f2527a89a173b3872
2016-08-31 16:20:24 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' ); Write-Host 'Verifying install ...'; Write-Host ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2016-08-31 16:20:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2016-08-31 16:20:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017/tcp
2016-08-31 16:20:37 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.