码迷,mamicode.com
首页 > 其他好文 > 详细

docker openvas

时间:2016-04-26 09:42:32      阅读:745      评论:0      收藏:0      [点我收藏+]

标签:

https://hub.docker.com/r/mikesplain/openvas/

 

Requirements

Docker
Ports available: 443, 9390, 9391

Usage

Simply run:

docker run -d -p 443:443 -p 9390:9390 -p 9391:9391 --name openvas mikesplain/openvas

This will grab the container from the docker registry and start it up. Openvas startup can take some time (4-5 minutes while NVT‘s are scanned and databases rebuilt), so be patient. Once you see a gasdprocess in the top command below, the web ui is good to go. Goto https://<machinename>

Username: admin
Password: openvas

To check the status of the process, run:

docker top openvas

In the output, look for the process scanning cert data. It contains a percentage.

To run bash inside the container run:

docker exec -it openvas bash

Config

By default GSAD will run on 443 with self signed certs. If you would like to run
this on 80 without certs you can pass the following param and change the port in
docker run from 443 to 80

docker run -d -p 80:80 -p 9390:9390 -p 9391:9391 -e HTTP_ONLY=true --name openvas mikesplain/openvas

docker openvas

标签:

原文地址:http://www.cnblogs.com/SZLLQ2000/p/5433686.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!