Merge pull request #7137 from kmddevdani/patch-1

added data directory for mac to antivirus doc
This commit is contained in:
Anne Henmi 2018-08-03 14:21:50 -06:00 committed by GitHub
commit 6a0940c56b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -8,9 +8,9 @@ When antivirus software scans files used by Docker, these files may be locked
in a way that causes Docker commands to hang.
One way to reduce these problems is to add the Docker data directory
(`/var/lib/docker` on Linux or `$Env:ProgramData` on Windows Server) to the
(`/var/lib/docker` on Linux, `$Env:ProgramData` on Windows Server, or `$HOME/Library/Containers/com.docker.docker/` on Mac) to the
antivirus's exclusion list. However, this comes with the trade-off that viruses
or malware in Docker images, writable layers of containers, or volumes are not
detected. If you do choose to exclude Docker's data directory from background
virus scanning, you may want to schedule a recurring task that stops Docker,
scans the data directory, and restarts Docker.
scans the data directory, and restarts Docker.