hub.docker.com
Open in
urlscan Pro
2600:1f18:2148:bc01:6fba:f146:1387:f27d
Public Scan
URL:
https://hub.docker.com/r/mikesplain/openvas/
Submission: On October 20 via manual from MX — Scanned from DE
Submission: On October 20 via manual from MX — Scanned from DE
Form analysis
1 forms found in the DOMGET /search
<form class="styles-module__searchForm___piOAi" method="get" action="/search">
<div class="MuiAutocomplete-root styles-module__root___LWVKu MuiAutocomplete-fullWidth css-18n1eq3">
<div class="MuiAutocomplete-inputRoot styles-module__inputRoot___ww4Or"><input class="MuiAutocomplete-input styles-module__input___CUTqf MuiAutocomplete-inputFocused" id=":r0:" aria-autocomplete="list" aria-expanded="false" autocomplete="off"
autocapitalize="none" spellcheck="false" role="combobox" placeholder="Search Docker Hub" name="q" data-testid="autocompleteInput" value=""><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet"
class="dicon styles-module__icon___pAlCT styles-module__small___gtEfJ " viewBox="0 0 24 24" data-testid="svg_SearchIcon">
<path
d="M15.864 14.32h-.813l-.285-.277c1.008-1.174 1.615-2.696 1.615-4.354C16.38 5.993 13.384 3 9.69 3 5.994 3 3 5.995 3 9.69c0 3.694 2.995 6.688 6.69 6.688 1.656 0 3.18-.607 4.353-1.615l.277.287v.813L19.467 21 21 19.467l-5.136-5.147zm-6.175 0c-2.564 0-4.633-2.068-4.633-4.63s2.07-4.632 4.63-4.632 4.632 2.068 4.632 4.63-2.07 4.632-4.63 4.632z">
</path>
</svg></div>
</div>
</form>
Text Content
Hackathon time! Join us for the Docker AI/ML Hackathon now through November 7th. Sign up now ✕ hub ExplorePricingSign InSign up Explore mikesplain/openvas MIKESPLAIN/OPENVAS By mikesplain • Updated 5 years ago A docker container for OpenVAS Image Pulls 10M+ OverviewTags OPENVAS IMAGE FOR DOCKER A Docker container for OpenVAS on Ubuntu. By default, the latest images includes the OpenVAS Base as well as the NVTs and Certs required to run OpenVAS. We made the decision to move to 9 as the default branch since 8 seems to have many issues in docker. We suggest you use 9 as it is much more stable. Our Openvas9 build was designed to be a smaller image with fewer extras built in. Please note, OpenVAS 8 is no longer being built as OpenVAS 9 is now standard. The image is can still be pulled from the Docker hub, however the source has been removed in this github as is standard with deprecated Docker Images. Openvas Version Tag Web UI Port 9 latest/9 443 USAGE Simply run: # latest (9) docker run -d -p 443:443 --name openvas mikesplain/openvas # 9 docker run -d -p 443:443 --name openvas mikesplain/openvas:9 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 It seems like your OpenVAS-9 installation is OK. process in the logs, the web ui is good to go. Goto https://<machinename> Username: admin Password: admin 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 SPECIFY DNS HOSTNAME By default, the system only allows connections for the hostname "openvas". To allow access using a custom DNS name, you must use this command: docker run -d -p 443:443 -e PUBLIC_HOSTNAME=myopenvas.example.org --name openvas mikesplain/openvas OPENVAS MANAGER To use OpenVAS Manager, add port 9390 to you docker run command: docker run -d -p 443:443 -p 9390:9390 --name openvas mikesplain/openvas VOLUME SUPPORT We now support volumes. Simply mount your data directory to /var/lib/openvas/mgr/: mkdir data docker run -d -p 443:443 -v $(pwd)/data:/var/lib/openvas/mgr/ --name openvas mikesplain/openvas Note, your local directory must exist prior to running. SET ADMIN PASSWORD The admin password can be changed by specifying a password at runtime using the env variable OV_PASSWORD: docker run -d -p 443:443 -e OV_PASSWORD=securepassword41 --name openvas mikesplain/openvas UPDATE NVTS Occasionally you'll need to update NVTs. We update the container about once a week but you can update your container by execing into the container and running a few commands: docker exec -it openvas bash ## inside container greenbone-nvt-sync openvasmd --rebuild --progress greenbone-certdata-sync greenbone-scapdata-sync openvasmd --update --verbose --progress /etc/init.d/openvas-manager restart /etc/init.d/openvas-scanner restart DOCKER COMPOSE (EXPERIMENTAL) For simplicity a docker-compose.yml file is provided, as well as configuration for Nginx as a reverse proxy, with the following features: * Nginx as a reverse proxy * Redirect from port 80 (http) to port 433 (https) * Automatic SSL certificates from Let's Encrypt * A cron that updates daily the NVTs To run: * Change "example.com" in the following files: * docker-compose.yml * conf/nginx.conf * conf/nginx_ssl.conf * Change the "OV_PASSWORD" enviromental variable in docker-compose.yml * Install the latest docker-compose * run docker-compose up -d LDAP SUPPORT (EXPERIMENTAL) Openvas do not support full ldap integration but only per-user authentication. A workaround is in place here by syncing ldap admin user(defined by LDAP_ADMIN_FILTER ) with openvas admin users everytime the app start up. To use this, just need to specify the required ldap env variables: docker run -d -p 443:443 -p 9390:9390 --name openvas -e LDAP_HOST=your.ldap.host -e LDAP_BIND_DN=uid=binduid,dc=company,dc=com -e LDAP_BASE_DN=cn=accounts,dc=company,dc=com -e LDAP_AUTH_DN=uid=%s,cn=users,cn=accounts,dc=company,dc=com -e LDAP_ADMIN_FILTER=memberOf=cn=admins,cn=groups,cn=accounts,dc=company,dc=com -e LDAP_PASSWORD=password -e OV_PASSWORD=admin mikesplain/openvas EMAIL SUPPORT To configure the postfix server, provide the following env variables at runtime: OV_SMTP_HOSTNAME, OV_SMTP_PORT, OV_SMTP_USERNAME, OV_SMTP_KEY docker run -d -p 443:443 -e OV_SMTP_HOSTNAME=smtp.example.com -e OV_SMTP_PORT=587 -e OV_SMTP_USERNAME=username@example.com -e OV_SMTP_KEY=g0bBl3de3Go0k --name openvas mikesplain/openvas CONTRIBUTING I'm always happy to accept pull requests or issues. THANKS Thanks to hackertarget for the great tutorial: http://hackertarget.com/install-openvas-7-ubuntu/ Thanks to Serge Katzmann for contributing with some great work on OpenVAS 8: https://github.com/sergekatzmann/openvas8-complete DOCKER PULL COMMAND docker pull mikesplain/openvas WHY OverviewWhat is a Container PRODUCTS Product Overview PRODUCT OFFERINGS Docker DesktopDocker Hub FEATURES Container RuntimeDeveloper ToolsDocker AppKubernetes DEVELOPERS Getting StartedPlay with DockerCommunityOpen SourceDocumentation COMPANY About UsResourcesBlogCustomersPartnersNewsroomEvents and WebinarsCareersContact UsSystem Status -------------------------------------------------------------------------------- © 2023 Docker, Inc. All rights reserved. | Terms of Service | Subscription Service Agreement | Privacy | Legal Cookies Settings By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Cookies Settings Reject All Accept All Cookies PRIVACY PREFERENCE CENTER When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer. More information Allow All MANAGE CONSENT PREFERENCES FUNCTIONAL COOKIES Functional Cookies These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly. STRICTLY NECESSARY COOKIES Always Active These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information. PERFORMANCE COOKIES Performance Cookies These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance. TARGETING COOKIES Targeting Cookies These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Back Button COOKIE LIST Search Icon Filter Icon Clear checkbox label label Apply Cancel Consent Leg.Interest checkbox label label checkbox label label checkbox label label Reject All Confirm My Choices