changed startup type for docker
This commit is contained in:
parent
8fd5aa6550
commit
3f81b7fb2a
1 changed files with 3 additions and 3 deletions
|
@ -16,8 +16,8 @@
|
||||||
# This script only needs to be run once per machine.
|
# This script only needs to be run once per machine.
|
||||||
|
|
||||||
Write-Host "Initializing local SSD..."
|
Write-Host "Initializing local SSD..."
|
||||||
#New-Variable -Name diskid -Value (Get-Disk -FriendlyName "Google EphemeralDisk").Number
|
New-Variable -Name diskid -Value (Get-Disk -FriendlyName "Google EphemeralDisk").Number
|
||||||
New-Variable -Name diskid -Value (Get-Disk -FriendlyName "NVMe nvme_card").Number
|
#New-Variable -Name diskid -Value (Get-Disk -FriendlyName "NVMe nvme_card").Number
|
||||||
|
|
||||||
# TODO: check if machine has an SSD
|
# TODO: check if machine has an SSD
|
||||||
# TODO: only do this, if SSD is not yet partioned and formatted
|
# TODO: only do this, if SSD is not yet partioned and formatted
|
||||||
|
@ -38,7 +38,7 @@ cmd /C "mklink /j C:\ProgramData\Docker D:\docker"
|
||||||
Install-PackageProvider -Name NuGet -Force
|
Install-PackageProvider -Name NuGet -Force
|
||||||
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
|
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
|
||||||
Install-Package -Name docker -ProviderName DockerMsftProvider -Force
|
Install-Package -Name docker -ProviderName DockerMsftProvider -Force
|
||||||
Set-Service -Name docker -StartupType Automatic
|
Set-Service -Name docker -StartupType AutomaticDelayedStart
|
||||||
|
|
||||||
# install gcloud and authenticate access to gcr.io registry
|
# install gcloud and authenticate access to gcr.io registry
|
||||||
# TODO: find a better way to install the Google Cloud SDK, avoid ingoring the checksum
|
# TODO: find a better way to install the Google Cloud SDK, avoid ingoring the checksum
|
||||||
|
|
Loading…
Reference in a new issue