Initial commit
This commit is contained in:
9
Packer/scripts/docker/remove-docker-key-json.ps1
Executable file
9
Packer/scripts/docker/remove-docker-key-json.ps1
Executable file
@@ -0,0 +1,9 @@
|
||||
# Do not restart Docker as it creates the key.json with an unique ID
|
||||
# This should not exist in the Vagrant basebox so you can spin up
|
||||
# multiple Vagrant boxes for a Docker swarm etc.
|
||||
|
||||
Write-Host "Stopping Docker"
|
||||
Stop-Service docker
|
||||
|
||||
Write-Host "Removing key.json to recreate key.json on first vagrant up"
|
||||
rm C:\ProgramData\docker\config\key.json
|
||||
Reference in New Issue
Block a user