Showing results for 
Search instead for 
Did you mean: 

Docker Guide

Deploy A Container using Docker Hub


Containers have become increasingly popular due to their portability, easy of use and consistent nature. McAfee makes using its Database Security product easy to use by offering a container which is deployable in Docker. This guide is a step-by-step guide to deploying the application.


To run this application you need Docker Engine >= 1.10.0.Docker Compose is recommended with a version 1.6.0 or later.

How to use this image

McAfee® Database Security can run as a single container or a multi-container. The single container host san internal database in the same container as the server and sensor. For a production environment a multi-container setup is needed. The server requires MSSQL to store server information. We will use MSSQL Linux server image for the database requirements.

Docker Pull Command

docker pull mcafeetest/mfedbs

Using Docker Compose

The recommended way to run McAfee® Database Security is using Docker Compose using the following docker-compose.yml template:

version: '3'
		  container_name: 'mssql'
		  image: 'microsoft/mssql-server-linux:latest'
			   - SA_PASSWORD=yourStrong(!)Password
			   - MSSQL_PID=Express
		  container_name: 'serversensor'
		  image: 'mcafeetest/mfedbs'
				   - '8443:8443'
				   - mssqldb
				   - SA_USERNAME=sa
				   - SA_PASSWORD=yourStrong(!)Password
				   - MSSQL_HOST=mssqldb

Launch the containers using:

$ docker-compose up -d

After a few minutes you can access your application at https://localhost:8443

Using the Docker Command Line

If you want to run the application manually instead of using docker-compose, these are the basic steps you need to run:

$ docker run -itd -p 8443:8443 --name mfedbs mcafeetest/mfedbs

Access your application at https://localhost:8443

Environment variables

The docker compose file has a number of environment variables which can be set.

Microsoft SQL Server Linux

ACCEPT_EULA - Accepts the SQL Server EULA. SA_PASSWORD - Sets the password to the SQL Server database. MSSQL_PID - Sets the database edition (i.e. Express, Developer, Standard, Enterprise, EnterpriseCore).

McAfee® Database Security

SA_USERNAME - SQL Server username. SA_PASSWORD - SQL Server password. MSSQL_HOST - Hostname of the SQL Server container. h2>Contributing

We'd love for you to contribute to this container. You can request new features by creating an issue, or submit a pull request with your contribution.

Version history
Revision #:
5 of 5
Last update:
‎09-20-2018 11:03 AM
Updated by:

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community