Created
May 13, 2020 10:34
-
-
Save shurick81/e5463002c4a4b66329aa6894bc6189a7 to your computer and use it in GitHub Desktop.
Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enable-WindowsOptionalFeature -Online -FeatureName:Microsoft-Hyper-V -All |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
choco install docker-desktop; | |
$dockerSettingsFilePath = "$env:USERPROFILE\AppData\Roaming\Docker\settings.json"; | |
$dockerSettings = Get-Content -Raw -Path $dockerSettingsFilePath | ConvertFrom-Json; | |
$dockerSettings.filesharingDirectories = @( "C:\" ); | |
$dockerSettings | ConvertTo-Json | Set-Content $dockerSettingsFilePath; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment