docker 安装 openvas

安装

➜  ~ docker search openvas
NAME                              DESCRIPTION                                     STARS               OFFICIAL            AUTOMATED
mikesplain/openvas                A docker container for OpenVAS                  152
......

➜  ~ docker pull mikesplain/openvas

在本机内运行

➜  ~ docker run -d -p 443:443 --name openvas mikesplain/openvas
7b02eefd53003d591a308bc67b97224b05d1765c7d19d8c8e3fa954b9b1f1a99

web界面
https://127.0.0.1/login/login.html
默认账号:admin 默认密码:admin


# 限制cpu运行速度
➜  ~ docker run --cpuset-cpus=4 -m 8192M -d -p 443:443 --name openvas mikesplain/openvas

在局域网内运行

docker run -d -p 443:443 -e PUBLIC_HOSTNAME=192.168.6.141 --name openvas mikesplain/openvas

web界面
https://192.168.6.141/login/login.html
默认账号:admin 默认密码:admin

关闭

➜  ~ docker ps
CONTAINER ID        IMAGE                COMMAND               CREATED             STATUS              PORTS                            NAMES
7b02eefd5300        mikesplain/openvas   "/bin/sh -c /start"   7 minutes ago       Up 7 minutes        0.0.0.0:443->443/tcp, 9390/tcp   openvas


➜  ~ docker stop openvas
openvas

➜  ~ docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES

参考

https://blog.csdn.net/whatday/article/details/83822294

你可能感兴趣的:(docker 安装 openvas)