Before you start
When you first install DRP, BlueCat recommends performing the following:
- Mount logs and config volume
- When running the
docker run
command, you can:- Mount the logs directory of the container into a Docker volume (recommended) or in a directory in your host machine.
- Give appropriate permission:
- To set permissions to external volumes, run the following
command:
chmod -R o=rwx <mapped volume>
- To set permissions to external volumes, run the following
command:
- Mount the
portal/bluecat_portal/workflows/drp_workflow/configs/
directory of the container into a Docker volume.docker volume create <config_volume> docker volume ls
- Mount the
/builtin
directory of the container into a Docker volume.docker volume create <config_volume> docker volume ls
- When running the
Tip: BlueCat advises all customers to map a Docker data volume and a
Docker logs volume to save data from BlueCat Gateway. This is the recommended
best practice for the Docker container. However, if you prefer to mount data and
log directories to your local machine, you must manually set rwx (read, write,
execute) permissions to those directories before running the container.
If you do not map data or logs directories to your local machine during
installation, BlueCat Gateway will write all the data to
the container by default. If you then stop or restart the container, all this
data will be lost.
Note:
- You can name the logs directory to anything.
- BlueCat Gateway saves all execution and session logs to the mapped logs directory. If you do not map a logs directory, all the logging data is written to the container by default.