diff --git a/bitnami/consul-exporter/0/debian-10/Dockerfile b/bitnami/consul-exporter/0/debian-10/Dockerfile index c7c6070e0e78..cae5dfc5ceca 100644 --- a/bitnami/consul-exporter/0/debian-10/Dockerfile +++ b/bitnami/consul-exporter/0/debian-10/Dockerfile @@ -12,7 +12,7 @@ RUN apt-get update && apt-get upgrade -y && \ RUN ln -sf /opt/bitnami/consul-exporter/bin/consul_exporter /bin/consul_exporter ENV BITNAMI_APP_NAME="consul-exporter" \ - BITNAMI_IMAGE_VERSION="0.6.0-debian-10-r75" \ + BITNAMI_IMAGE_VERSION="0.6.0-debian-10-r76" \ PATH="/opt/bitnami/consul-exporter/bin:$PATH" EXPOSE 9107 diff --git a/bitnami/consul-exporter/README.md b/bitnami/consul-exporter/README.md index d09e38ea26d3..9b930e070030 100644 --- a/bitnami/consul-exporter/README.md +++ b/bitnami/consul-exporter/README.md @@ -6,7 +6,7 @@ # TL;DR; -```bash +```console $ docker run --name consul-exporter bitnami/consul-exporter:latest ``` @@ -25,7 +25,7 @@ $ docker run --name consul-exporter bitnami/consul-exporter:latest You can find an example for testing Consul Exporter in Kubernetes with the `test.yaml` file. To launch it, run the command: -```bash +```console $ kubectl apply -f test.yaml ``` @@ -44,7 +44,7 @@ Non-root container images add an extra layer of security and are generally recom Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/containers/how-to/understand-rolling-tags-containers/). -* [`0-debian-10`, `0.6.0-debian-10-r75`, `0`, `0.6.0`, `latest` (0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-consul-exporter/blob/0.6.0-debian-10-r75/0/debian-10/Dockerfile) +* [`0-debian-10`, `0.6.0-debian-10-r76`, `0`, `0.6.0`, `latest` (0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-consul-exporter/blob/0.6.0-debian-10-r76/0/debian-10/Dockerfile) Subscribe to project updates by watching the [bitnami/consul-exporter GitHub repo](https://github.com/bitnami/bitnami-docker-consul-exporter). @@ -52,19 +52,19 @@ Subscribe to project updates by watching the [bitnami/consul-exporter GitHub rep The recommended way to get the Bitnami Consul Exporter Docker Image is to pull the prebuilt image from the [Docker Hub Registry](https://hub.docker.com/r/bitnami/consul-exporter). -```bash +```console $ docker pull bitnami/consul-exporter:latest ``` To use a specific version, you can pull a versioned tag. You can view the [list of available versions](https://hub.docker.com/r/bitnami/consul-exporter/tags/) in the Docker Hub Registry. -```bash +```console $ docker pull bitnami/consul-exporter:[TAG] ``` If you wish, you can also build the image yourself. -```bash +```console $ docker build -t bitnami/consul-exporter:latest 'https://github.com/bitnami/bitnami-docker-consul-exporter.git#master:0/debian-10' ``` @@ -78,7 +78,7 @@ Containers attached to the same network can communicate with each other using th ### Step 1: Create a network -```bash +```console $ docker network create consul-exporter-network --driver bridge ``` @@ -86,7 +86,7 @@ $ docker network create consul-exporter-network --driver bridge Use the `--network ` argument to the `docker run` command to attach the container to the `consul-exporter-network` network. -```bash +```console $ docker run --name consul-exporter-node1 --network consul-exporter-network bitnami/consul-exporter:latest ``` @@ -102,7 +102,7 @@ Find all the configuration options in the [Consul Prometheus Exporter documentat The Bitnami Consul Exporter Docker image sends the container logs to `stdout`. To view the logs: -```bash +```console $ docker logs consul-exporter ``` @@ -116,7 +116,7 @@ Bitnami provides up-to-date versions of Consul Exporter, including security patc ### Step 1: Get the updated image -```bash +```console $ docker pull bitnami/consul-exporter:latest ``` @@ -124,13 +124,13 @@ $ docker pull bitnami/consul-exporter:latest Stop the currently running container using the command -```bash +```console $ docker stop consul-exporter ``` ### Step 3: Remove the currently running container -```bash +```console $ docker rm -v consul-exporter ``` @@ -138,7 +138,7 @@ $ docker rm -v consul-exporter Re-create your container from the new image. -```bash +```console $ docker run --name consul-exporter bitnami/consul-exporter:latest ```