Test your signature-based Anti-Virus realtime protection in docker containers.
The EICAR test files are encoded and included into the dockerfile to avoid any network security system detections.
# Get the latest image
docker pull philippbehmer/docker-eicar:latest
# Run container
docker run philippbehmer/docker-eicar:latest
user@av-protected-machine:~/$ docker run philippbehmer/docker-eicar:latest
### Dropping Base64 encoded EICAR files ###
--> Done
### Dropping /tmp/eicar.com ###
--> EICAR was successfully detected and removed!
### Dropping /tmp/eicar.com.txt ###
--> EICAR was successfully detected and removed!
### Dropping /tmp/eicar_com.zip ###
--> EICAR was successfully detected and removed!
### Dropping /tmp/eicarcom2.zip ###
--> EICAR was successfully detected and removed!