Skip to content

Commit

Permalink
fix README file for linter errors in DNS server
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhuja committed Aug 21, 2023
1 parent 5e204b3 commit 361bf6d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions OracleDatabase/RAC/OracleDNSServer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,30 @@ The `buildContainerImage.sh` script can assist with building the images. See bel

The `buildContainerImage.sh` script is a utility shell script that performs MD5 checks and is an easy way to get started. Users can also use the docker build command to build an image with custom configuration parameters. To run the script, go into the `dockerfiles` folder and run the `buildContainerImage.sh` script:

```
```bash
./buildContainerImage.sh-v <Software Version>
./buildContainerImage.sh -v latest
```
NOTE: To build the DNS server image, pass the version latest to `buildContainerImage.sh`. The RAC DNS server image is not tied to any release of the RAC release, you can use `latest` version to build the image.

For detailed usage instructions, please execute the following command:

```
```bash
./buildContainerImage.sh -h
```

## Create bridge
Before you create the DNS server container, ensure you have created the required network bridges so you can attach the DNS server to the correct bridge.

```
```bash
docker network create --driver=bridge --subnet=172.16.1.0/24 rac_pub1_nw
```
**Note:** You can change the subnet according to your environment.

### Running RAC DNS server container
Execute following command to create the container:

```
```bash
docker run -d --name racdns \
--hostname rac-dns \
--dns-search="example.com" \
Expand All @@ -54,13 +54,13 @@ In the above example, we used **172.16.1.0/24** subnet for the DNS server. You c

To check the DNS server container/services creation logs, please tail the Docker logs. It may take up to 2 minutes for the racdns container to start completely.

```
```bash
docker logs -f racdns
```

you should see the following in docker logs output:

```
```bash
#################################################
DNS Server IS READY TO USE!
#################################################
Expand Down

0 comments on commit 361bf6d

Please sign in to comment.