Docf-Sec-Check - DockF-Sec-Check Helps To Make Your Dockerfile Commands More Secure.
Docf-Sec-Check 是一个用于增强 Dockerfile 安全性的工具,支持从源码、PyPI、Dockerfile 和 DockerHub 安装,并提供多种使用方式。它帮助检测 Dockerfile 和镜像中的安全问题,并支持开发贡献及捐赠。 2025-4-4 19:18:0 Author: www.kitploit.com(查看原文) 阅读量:6 收藏

DockF-Sec-Check helps to make your Dockerfile commands more secure.

Done

  • [x] First-level security notification in the Dockerfile

TODO List

  • [ ] Correctly detect the Dockerfile.
  • [ ] Second-level security notification in the Dockerfile.
  • [ ] Security notification in Docker images.
  • [ ] ***** (Private Repository)

Installation

From Source Code

You can use virtualenv for package dependencies before installation.

git clone https://github.com/OsmanKandemir/docf-sec-check.git
cd docf-sec-check
python setup.py build
python setup.py install

From Pypi

The application is available on PyPI. To install with pip:

pip install docfseccheck

From Dockerfile

You can run this application on a container after build a Dockerfile. You need to specify a path (YOUR-LOCAL-PATH) to scan the Dockerfile in your local.

docker build -t docfseccheck .
docker run -v <YOUR-LOCAL-PATH>/Dockerfile:/docf-sec-check/Dockerfile docfseccheck -f /docf-sec-check/Dockerfile

From DockerHub

docker pull osmankandemir/docfseccheck:v1.0
docker run -v <YOUR-LOCAL-PATH>/Dockerfile:/docf-sec-check/Dockerfile osmankandemir/docfseccheck:v1.0 -f /docf-sec-check/Dockerfile

Usage

-f DOCKERFILE [DOCKERFILE], --file DOCKERFILE [DOCKERFILE] Dockerfile path. --file Dockerfile

Function Usage

from docfchecker import DocFChecker

#Dockerfile is your file PATH.

DocFChecker(["Dockerfile"])

Development and Contribution

See; CONTRIBUTING.md

License

Copyright (c) 2024 Osman Kandemir \ Licensed under the GPL-3.0 License.

Donations

If you like DocF-Sec-Check and would like to show support, you can use Buy A Coffee or Github Sponsors feature for the developer using the button below.

Or

Sponsor me : https://github.com/sponsors/OsmanKandemir 😊

Your support will be much appreciated😊

Docf-Sec-Check - DockF-Sec-Check Helps To Make Your Dockerfile Commands More Secure Docf-Sec-Check - DockF-Sec-Check Helps To Make Your Dockerfile Commands More Secure Reviewed by Zion3R on 4:18 PM Rating: 5


文章来源: http://www.kitploit.com/2025/04/docf-sec-check-dockf-sec-check-helps-to.html
如有侵权请联系:admin#unsafe.sh