赞
踩
安装docker略过....
- $ cd /etc/docker
- $ cat daemon.json
- {
- "registry-mirrors": [
- "https://kfwkfulq.mirror.aliyuncs.com",
- "https://2lqq34jg.mirror.aliyuncs.com",
- "https://pee6w651.mirror.aliyuncs.com",
- "https://registry.docker-cn.com",
- "http://hub-mirror.c.163.com"
- ],
- "dns": ["8.8.8.8","8.8.4.4"]
- }
- #重新加载docker配置、以及重启docker服务
- $ sudo systemctl daemon-reload
- $ sudo systemctl restart docker
- [root@host ~]# docker pull quay.io/hiepnv/acunetix
- Using default tag: latest
- latest: Pulling from hiepnv/acunetix
- Digest: sha256:7898f6f44b53207376fd6ca34348bf384ada5751188770e92ade6501b523cc94
- Status: Image is up to date for quay.io/hiepnv/acunetix:latest
- quay.io/hiepnv/acunetix:latest
docker run -itd -p 3443:3443 --restart=unless-stopped --name=acunetix_web quay.io/hiepnv/acunetix
本人在桥接的虚拟机中部署的awvs,通过虚拟机的ip:3443进行访问(虚拟机必须配置静态ip)
- #进入容器命令
- docker exec -it acunetix_web /bin/bash
- #进入容器后去到修改密码的目录
- cd /home/acunetix/.acunetix/
- #执行修改密码脚本
- ./change_credentials.sh
- 然后输入新的用户名和密码,添加用户
- root@883745d323b1:/home/acunetix/.acunetix# ./change_credentials.sh
- Master user found: admin@acu.com
- Email (leave empty for using admin@acu.com): Test@ear.ai
- Using master user Test@ear.ai
- Password:
- Password again:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。