Common configuration tasks¶
Disabling the Firewall¶
Disable the firewall as it will interfere with connectivity to the docker containers.
In an admin powershell run the following command.
Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False
Disabling CPU Parking¶
Disable CPU parking by running the following 2 commands.
Powercfg -setacvalueindex scheme_current sub_processor CPMINCORES 100
Powercfg -setactive scheme_current
Disabling administrator password expiry¶
This can be completed with PowerShell using a command similar to this:
Set-LocalUser -Name "administrator" -PasswordNeverExpires 1
Configuring a proxy server for Docker¶
To set proxy information for docker search and docker pull, create a Windows environment variable with the name HTTP_PROXY or HTTPS_PROXY, and a value of the proxy information. This can be completed with PowerShell using a command similar to this:
[Environment]::SetEnvironmentVariable("HTTP_PROXY", "http://username:password@proxy:port/", [EnvironmentVariableTarget]::Machine)
Restart-Service docker
Setting Virus Scanners to Exclude the Docker Container Cache¶
When running Docker on a host it is prudent to exclude the docker cache location from real time scanning.
The default location is C:\ProgramData\docker
McAfee¶
https://kc.mcafee.com/corporate/index?id=KB50998&page=content&pmv=print
Windows Defender¶
Trend Micro¶
AVG¶
Comodo¶
Norton¶
https://support.norton.com/sp/en/au/home/current/solutions/v3672136_ns_retail_en_us