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:
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
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.