{"id":19062043,"url":"https://github.com/wdhif/docker-antivirus","last_synced_at":"2025-04-24T07:40:05.251Z","repository":{"id":46563492,"uuid":"92277095","full_name":"wdhif/docker-antivirus","owner":"wdhif","description":"Antivirus for Docker with ClamAV and Atomic","archived":false,"fork":false,"pushed_at":"2021-10-05T18:09:41.000Z","size":33,"stargazers_count":4,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-08T10:07:12.730Z","etag":null,"topics":["antivirus","atomic","clamav","docker","docker-antivirus","hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wdhif.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-24T09:52:58.000Z","updated_at":"2021-10-05T18:09:42.000Z","dependencies_parsed_at":"2022-09-01T22:22:25.568Z","dependency_job_id":null,"html_url":"https://github.com/wdhif/docker-antivirus","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdhif%2Fdocker-antivirus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdhif%2Fdocker-antivirus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdhif%2Fdocker-antivirus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdhif%2Fdocker-antivirus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wdhif","download_url":"https://codeload.github.com/wdhif/docker-antivirus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223770457,"owners_count":17199686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["antivirus","atomic","clamav","docker","docker-antivirus","hacktoberfest"],"created_at":"2024-11-09T00:24:17.914Z","updated_at":"2024-11-09T00:24:18.424Z","avatar_url":"https://github.com/wdhif.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-antivirus\n![](https://github.com/wdhif/docker-antivirus/actions/workflows/main.yml/badge.svg)\n\nDocker Antivirus with ClamAV and Atomic\n\n![docker-antivirus](https://user-images.githubusercontent.com/5231539/30380611-5525d520-989a-11e7-96fd-93f8e6294b34.gif)\n## Usage\n\n```\ndocker-antivirus help [COMMAND]                         # Describe available commands or one specific command\ndocker-antivirus scan -i, --image=IMAGE                 # Scan a docker image\ndocker-antivirus cleanup                                # Cleanup all folders\n```\n\nIf for some reason the temporary directories are not correctly deleted, you can add this command to your cron file\n```\nfind /tmp/docker-antivirus/* -type d -mtime +10 -exec umount {} + -exec rm -rf {} +\n```\nThis command with find all subdirectories inside `/tmp/docker-antivirus` with a modification date older than 10 days. Those directories will be unmounted and then deleted.\n\n## Development\n\n1. Install the dependencies (for centos, atomic is in centos-extras).\n```\nyum install gcc-c++ ruby-devel coreutils clamav atomic\n```\n\n2. Install the application dependencies.\n```\nbundle install\n```\n\n3. Run the project.\n```\nbundle exec docker-antivirus help\n```\n\n## Troubleshooting\nBecause of a problem with Atomic regarding the use of a newer glib2 that is not yet in the current dependancies, you can get an ostree error with python. https://github.com/projectatomic/atomic/issues/1018  \n`/usr/bin/python2: symbol lookup error: /lib64/libostree-1.so.1: undefined symbol: g_file_enumerator_iterate`  \nTo fix this you just have to update glib2 to the newer version.  \n`yum update glib2`  \n\n\n## Contributing\n\n1. Fork it ( https://github.com/wdhif/docker-antivirus/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdhif%2Fdocker-antivirus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwdhif%2Fdocker-antivirus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdhif%2Fdocker-antivirus/lists"}