<commit_before>Write-Host "Add Registry to hosts"
$ip = "192.168.38.100"
# I know this could be done with vagrant-hostmanager
Add-Content C:\Windows\system32\drivers\etc\hosts "`r`n$ip registry"

Write-Host "Add Docker Registry"
cp C:\ProgramData\docker\runDockerDaemon.cmd C:\ProgramData\docker\runDockerDaemon.cmd.bak
cat C:\ProgramData\docker\runDockerDaemon.cmd.bak | %{$_ -replace '^dockerd -G docker -H npipe:// -H 0.0.0.0:2375$','dockerd -G docker -H npipe:// -H 0.0.0.0:2375 --insecure-registry registry:5000'} | Set-Content C:\ProgramData\docker\runDockerDaemon.cmd

Write-Host "Restarting docker"
Restart-Service docker<commit_msg>Update to latest windows_2016_docker box<commit_after>Write-Host "Add Registry to hosts"
$ip = "192.168.38.100"
# I know this could be done with vagrant-hostmanager
Add-Content C:\Windows\system32\drivers\etc\hosts "`r`n$ip registry"

Write-Host "Add Docker Registry"
$path = (Get-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Services\docker -Name ImagePath).ImagePath
$path += ' --insecure-registry registry:5000'
Set-ItemProperty -Path HKLM:SYSTEM\CurrentControlSet\Services\docker -Name ImagePath -Value $path -Force

Write-Host "Restarting docker"
Restart-Service docker
{'fraction_non_alphanumeric': 0.13125512715340443, 'fraction_numerical': 0.044298605414273995, 'mean_word_length': 5.161616161616162, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2119934', 'n_tokens_mistral': 467, 'n_tokens_neox': 405, 'n_words': 99}