Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to detect Docker Bench for Docker Security

2025-02-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article shows you how to conduct Docker security testing Docker Bench, the content is concise and easy to understand, can definitely brighten your eyes, through the detailed introduction of this article, I hope you can get something.

Docker Bench for Security is a script that checks for security issues related to the deployment of Docker containers in production.

Github address: https://github.com/docker/docker-bench-security

1. Operation and monitoring in image mode:

Add-- rm, delete after running, obsessive-compulsive disorder ~

Docker run-it-- rm-- net host-- pid host-- userns host-cap-add audit_control\-e DOCKER_CONTENT_TRUST=$DOCKER_CONTENT_TRUST\-v / var/lib:/var/lib\-v / var/run/docker.sock:/var/run/docker.sock\-v / usr/lib/systemd:/usr/lib/systemd\-v / etc:/etc-- label docker_bench_security\ docker/docker-bench-security

2. Docker-compose installation:

Git clone https://github.com/docker/docker-bench-security.gitcd docker-bench-securitydocker-compose run-- rm docker-bench-security

3. Download git:

Git clone https://github.com/docker/docker-bench-security.gitcd docker-bench-securitysudo sh docker-bench-security.sh the above content is how to conduct Docker security inspection Docker Bench, have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report