This section contains tables of commonly used Docker commands and flags. For a complete list of Docker commands click here.
|Docker run command:|
docker run -d -p 80:8000 -p 443:44300 -v <path_to_workspace>:/ bluecat_gateway/ -v <path_to_mapped_log_directory>:/logs/ -e BAM_IP=<your bam ip> --dns=<ip address> --name bluecat_gateway quay.io/bluecat/gateway: <version>
|docker run||Is used to run a command in a new container.|
|-d||The -d flag indicates to run the Docker container in detached mode. This means that the Docker container will run in the background of your terminal and will not receive any input or display output.|
|-p 80:8000 -p 443:44300||This code segment specifies the allocation of the ports being
|-v <path_to_workspace>:/ bluecat_gateway/||This variable maps a Docker workspace on your local machine.
If you are using RHEL-compiled Docker, you must add
:Z at the end of the path for any mapped
Note: If using Docker volumes, the command would be: -v <Docker_volume_name>:/bluecat_gateway.
|-v <path_to_mapped_log_directory>:/logs/||This variable maps a Docker logs volume (recommended) or a logs directory on your local machine.|
|-e BAM_IP=<your bam ip>||The environment variable is used to specify the IP address of the BAM you wish to integrate with DNS Integrity Gateway. You must enter the BAM IP as an environment variable when running the DNS Integrity Gateway container for the first time.|
|--dns <ip address> (optional)||Sets the IP address of the container's nameserver in the
/etc/resolv.conf file. A process in the container, when
resolving a hostname that is not included in /etc/hosts, will
connect to this IP address on port 53 and search for name
Note: If you do not include this option in the docker command, the IP address of the DNS server defaults to 126.96.36.199.
|--name bluecat_gateway||Indicates the name of the container. By default, the name of the container is bluecat_gateway; however, this can be changed to reflect the needs of your environment.|
|quay.io/bluecat/gateway:20.1.1||Refers to the DNS Integrity Gateway image tag from which the container will be created. If the image has already been pulled and is available locally, the container will be created from that image. If the image is not available locally, it will be pulled from the Quay.io cloud registry.|
|docker login <repository domain>||Specify login credentials for a specific repository.|
|docker pull image_name||Download a particular image (from specified repository sources).|
|docker images||List all images present locally.|
|docker rmi <image_name|image_id>||Remove the image.|
|docker ps||List all running containers.|
|docker ps -a||List all containers|
|docker run [options] <image_name|image_id>||Run the docker image with specified options.|
|docker stop <container_name|container_id>||Stop a running container.|
|docker rm <container_name|container_id>||Remove a stopped container.|
|docker logs||Look at logs for a running or stopped container.|
|docker kill||Kill one or more running containers.|
|docker cp <container:path_to_file> <dest_path>||Copy the file from inside the container to your local host machine.|
|docker restart <container>||Restart the container.|
|docker rename <container> <new name>||Rename the container.|
|docker exec -it <container name> bash||Runs an interactive bash shell on a running container.|
|docker run -t||Allocate a pseudo-tty.|
|docker run -d||Run container in detached mode.|
|docker run -p||Specify port mapping.|
|docker run -v||Map a volume.|
Terms and Conditions
READ THIS BEFORE INSTALLING OR USING BLUECAT PRODUCTS, SERVICES, AND DOCUMENTATION
The material herein is subject to the applicable BlueCat License Agreement previously entered into between BlueCat and your company, or if none, then to BlueCat’s standard terms and conditions which you can view and download from https://www.bluecatnetworks.com/services-support/support/license-agreements/. BlueCat reserves the right to revise this material at any time without notice.
Company names and/or data used in screens and sample output are fictitious, unless otherwise stated.
©2001—2020 BlueCat Networks (USA) Inc. and its affiliates (collectively ‘BlueCat’). All rights reserved. This document contains BlueCat confidential and proprietary information and is intended only for the person(s) to whom it is transmitted. Any reproduction of this document, in whole or in part, without the prior written consent of BlueCat is prohibited.
Proteus, Adonis, BlueCat DNS/DHCP Server, BlueCat Address Manager, BlueCat DNS Edge, BlueCat Device Registration Portal, BlueCat DNS Integrity, BlueCat DNS Integrity, BlueCat Mobile Security, BlueCat Address Manager for Windows Server, and BlueCat Threat Protection are trademarks of BlueCat.
iDRAC is a registered trademark of Dell Inc. Windows is a registered trademark of Microsoft Corporation. UNIX is a registered trademark of The Open Group. Linux is a registered trademark of Linus Torvalds. QRadar is a registered trademark of IBM. ArcSight is a registered trademark of Hewlett Packard. Ubuntu is a registered trademark of Canonical Ltd. CentOS is a trademark of the CentOS Project. All other product and company names are registered trademarks or trademarks of their respective holders.