Linux command
dockdiver 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Scan Docker Hub
dockdiver -u [username]
Scan specific image
dockdiver -i [image:tag]
Scan with output
dockdiver -u [username] -o [results.txt]
Scan with custom
dockdiver -i [image:tag] -p [patterns.json]
说明
dockdiver is a security tool for analyzing Docker images and Docker Hub repositories for exposed secrets, credentials, and sensitive information. It scans image layers to identify potentially dangerous data leakage. The tool searches for common secret patterns including API keys, passwords, private keys, and credentials embedded in Docker images. It can scan individual images or entire user repositories. dockdiver helps security teams audit container images before deployment and identify credential exposure in public registries.
参数
- -u _USERNAME_
- Docker Hub username to scan.
- -i _IMAGE_
- Specific image to analyze.
- -o _FILE_
- Output file for results.
- -p _FILE_
- Custom pattern file.
- -v
- Verbose output.
- --help
- Display help information.
FAQ
What is the dockdiver command used for?
dockdiver is a security tool for analyzing Docker images and Docker Hub repositories for exposed secrets, credentials, and sensitive information. It scans image layers to identify potentially dangerous data leakage. The tool searches for common secret patterns including API keys, passwords, private keys, and credentials embedded in Docker images. It can scan individual images or entire user repositories. dockdiver helps security teams audit container images before deployment and identify credential exposure in public registries.
How do I run a basic dockdiver example?
Run `dockdiver -u [username]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -u _USERNAME_ do in dockdiver?
Docker Hub username to scan.