sha256:91c8b50410b0ca6a0822db5c1c7868deb226681185eeda6e28e196dfb4f37700
2023-01-27 23:20:12 UTC
1.52 GB
3a46941614a4bedce377bf4ffdbababb80109ce5953f334aeec38c9be4540852
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.19-rc0-signed.msi
MONGO_VERSION4.4.19-rc0
[#000] sha256:1a65b089bc835b0c3700397b1935e97cf469b0891bb4de3942c8dfbe4b672d47 - 84.94% (1.29 GB)
[#001] sha256:a81c906622aa010adfaf1dd8c570ad750108a9b1a91ee1eb148e409e3e4fe68f - 0.0% (1.39 KB)
[#002] sha256:d0af70fe3a80dcdcf014f6d6e5ea16dde6ebcfaa207a10fa5d2a47943ac7aa4e - 0.0% (1.39 KB)
[#003] sha256:07577bf7868f1c0ab54790d4bb9bd5b3f02e206b8d24167c4f00ede6e149baad - 0.0% (1.36 KB)
[#004] sha256:950068d9dbadebaf1ac4af3b520dfe8ee1486b535c6f6eca2afe53c3a70c2600 - 0.0% (1.34 KB)
[#005] sha256:a10cd48e85f0c05b69f112313a096a237e26523357f5f9adc2ba84e391c9523e - 15.06% (234 MB)
[#006] sha256:2f9ba45d47426181bc3ce3d5d270c08ded50b44b39f5b6d39a7b407f674f58de - 0.0% (1.39 KB)
[#007] sha256:13a1c954e57178533b64019808812f37668af1c2f95daf2128666d00e9efc8b7 - 0.0% (1.39 KB)
[#008] sha256:8d4a0d051ac5af9401e3495b1ab6b46d59c42a5f7e6964e82c40518f83e9fad2 - 0.0% (1.4 KB)
Apply image 10.0.20348.1487
2023-01-12 04:01:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-01-27 23:18:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.19-rc0
2023-01-27 23:18:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.19-rc0-signed.msi
2023-01-27 23:18:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=3a46941614a4bedce377bf4ffdbababb80109ce5953f334aeec38c9be4540852
2023-01-27 23:20: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'); 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\mongod.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.';
2023-01-27 23:20:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-01-27 23:20:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-01-27 23:20:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
sha256:d31264310b74dce3da0a00f4312efb89c8fbed7dd2e3cf3b2cec8a46c9c5a65c
2023-01-27 23:22:19 UTC
1.82 GB
3a46941614a4bedce377bf4ffdbababb80109ce5953f334aeec38c9be4540852
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.19-rc0-signed.msi
MONGO_VERSION4.4.19-rc0
[#000] sha256:6e222c5ada69382aa2b4fe30b23ae56c7e3ada92712109d20f3edd457a6120b6 - 87.43% (1.59 GB)
[#001] sha256:f99eee4cf5f23d13a762e719b10916801f19f9df4bd7ff9b4c5cf57133b3dc04 - 0.0% (1.39 KB)
[#002] sha256:a9b9d8f2121287074a91267fee2a4bdcf876548a1ba1b4e0798aceb67fccfc6d - 0.0% (1.4 KB)
[#003] sha256:45cada2cce058b25ae43b580b46208a4cd1486cb545526ba8fafb8a05403c15e - 0.0% (1.39 KB)
[#004] sha256:d92c9dad1e624a7b395029ba9bfe2136038facedf1e9ef3fc11b9b802de34fba - 0.0% (1.38 KB)
[#005] sha256:ff5ab2bef22ccabd8b23a5caca7bef4b3d35bd2bae1d6363e8435bc9fb0c62ab - 12.57% (234 MB)
[#006] sha256:596f03daba3618da061f91ab3c53ed5c1732938b02b661660cd3bfe1c455cd13 - 0.0% (1.39 KB)
[#007] sha256:b09c152b6ac90d25ccec78a28d9fa42addd53349e35ec043ebfa21deae386cf7 - 0.0% (1.39 KB)
[#008] sha256:3eac6c0c9073c45f311cc92468ffc325c66be817c606091f4dc5cdf2e3173c44 - 0.0% (1.38 KB)
Apply image 10.0.17763.3887
2023-01-12 04:04:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2023-01-27 23:20:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=4.4.19-rc0
2023-01-27 23:20:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-4.4.19-rc0-signed.msi
2023-01-27 23:20:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=3a46941614a4bedce377bf4ffdbababb80109ce5953f334aeec38c9be4540852
2023-01-27 23:22:16 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\mongod.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.';
2023-01-27 23:22:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2023-01-27 23:22:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2023-01-27 23:22:19 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.