2021-01-14 00:26:33 UTC
2.48 GB
0b64db8d8a615976b76617c3425c9fc0500e18324be0de878a6c6143d1e8b5e2
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.21-signed.msi
MONGO_VERSION3.6.21
[#000] sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f - 64.48% (1.6 GB)
[#001] sha256:4dcc9a9b9e680514ef3fdfcc2ce08a3768f9e412703faa137f4a7c8297600052 - 26.92% (684 MB)
[#002] sha256:9f84df50d9e20cf852bfd3555d4e56feabf7b9c735e48c613fc461146876bc03 - 0.0% (1.13 KB)
[#003] sha256:8ca50f45c0dd76e7202bbd60168c99c203e4bb6441c44a7cc9da9587df764aee - 0.0% (1.09 KB)
[#004] sha256:f2aba66b27badd60988ea21849d80f19e3f28b4080ffd73805391ca19c5bf778 - 0.0% (1.13 KB)
[#005] sha256:ab85149e414b449654dd5b08293f608a73339af0c086a53ae28e3ec4ee296993 - 0.0% (1.1 KB)
[#006] sha256:2d4117320dac41affb2064d4240581dffafef75e7410a142e5e77e8afe47d36e - 8.6% (218 MB)
[#007] sha256:7c75afd4919400223446e1015339379353adf3f813ea3c0ae8f68c6d7e552558 - 0.0% (1.12 KB)
[#008] sha256:d9b7f817577d9539c1162a17c17eb4eebacbda2a6663cb25441975af618cec8a - 0.0% (1.1 KB)
[#009] sha256:ada28003068dbc8c3ca86d83fc6da89b2b8b5c332684bbeeeb7f2dd7cdda6649 - 0.0% (1.1 KB)
Apply image 1809-RTM-amd64
2021-01-08 08:50:52 UTCInstall update 1809-amd64
2021-01-13 15:20:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2021-01-14 00:23:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=3.6.21
2021-01-14 00:23:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.21-signed.msi
2021-01-14 00:23:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=0b64db8d8a615976b76617c3425c9fc0500e18324be0de878a6c6143d1e8b5e2
2021-01-14 00:26:31 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=Server,Client,Router,MiscellaneousTools,MonitoringTools,ImportExportTools' ); 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-01-14 00:26:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2021-01-14 00:26:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2021-01-14 00:26:33 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.