2021-06-17 23:17:02 UTC
2.73 GB
273acf36bad761e06093fc43f7e1aececc842eee33c61955bde15aae46ea406e
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.0-rc2-signed.msi
MONGO_VERSION5.0.0-rc2
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 58.62% (1.6 GB)
[#001] sha256:639bb6bb2beb4cfdcacb9f0844344448fe26494665d5fe78a494419f86fbb18f - 31.5% (880 MB)
[#002] sha256:ae7d2dc4b590128efeafd375d02122e65a2525623ac2be100c1a390caf8a4b49 - 0.0% (1.37 KB)
[#003] sha256:23ae802aa623795eaf3ac59227391f0a6385ebf4fc44a2bde670238e8bda6f50 - 0.0% (1.4 KB)
[#004] sha256:fef25f16d8367be260a0ea430cda668e750d26668fdb8da5382966cb20235e4d - 0.0% (1.4 KB)
[#005] sha256:e2cdea519b712123a88e786b30b67ffa71ee568d2c5d88da1017e998a6cf1430 - 0.0% (1.41 KB)
[#006] sha256:1ae17748aa2462e101951d925aca47a72b2b6c2f195d98f84e2fe34b9ce0bc33 - 9.89% (276 MB)
[#007] sha256:3df63af4d4cfcdbd94e947d0dec0cb7d7da1d6d10a2026009fd7de58ca703361 - 0.0% (1.39 KB)
[#008] sha256:2f1c2e4e4ff596c6d69810702992b23a37ed07761520f6ad12c26e0dbb823e40 - 0.0% (1.4 KB)
[#009] sha256:e4d4e4d46761536749ff3c82b94279af1a750dafe8ae3aa6564990de6d98c918 - 0.0% (1.38 KB)
Apply image 1809-RTM-amd64
2021-06-06 04:28:43 UTCInstall update 1809-amd64
2021-06-09 13:15:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-06-17 23:14:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.0-rc2
2021-06-17 23:14:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.0-rc2-signed.msi
2021-06-17 23:14:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=273acf36bad761e06093fc43f7e1aececc842eee33c61955bde15aae46ea406e
2021-06-17 23:16:53 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', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=Client,MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongo.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $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:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2021-06-17 23:16:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-06-17 23:16:59 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-06-17 23:17:02 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.