mirror of
https://github.com/docker/docs.git
synced 2026-04-02 01:08:53 +07:00
* Reword lots of instances of 'will' * Reword lots of instances of won't * Reword lots of instances of we'll * Eradicate you'll * Eradicate 'be able to' type of phrases * Eradicate 'unable to' type of phrases * Eradicate 'has / have to' type of phrases * Eradicate 'note that' type of phrases * Eradicate 'in order to' type of phrases * Redirect to official Chef and Puppet docs * Eradicate gratuitous 'please' * Reduce use of e.g. * Reduce use of i.e. * Reduce use of N.B. * Get rid of 'sexagesimal' and correct some errors
16 lines
779 B
Markdown
16 lines
779 B
Markdown
---
|
|
title: Antivirus software and Docker
|
|
description: General guidelines for using antivirus software with Docker
|
|
keywords: antivirus, security
|
|
---
|
|
|
|
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
|
|
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. |