Doc update: adding docker-compose pull before up to always get the latest version of images

This commit is contained in:
Kerem Sahin 2019-09-10 17:51:17 -07:00
parent c365c406e1
commit 1bf0ff72b4
8 changed files with 8 additions and 8 deletions

View File

@ -8,7 +8,7 @@ any modification.
Below command will start the Elasticsearch and Kibana containers. `Data Hub` uses Elasticsearch release `5.6.8`. Newer Below command will start the Elasticsearch and Kibana containers. `Data Hub` uses Elasticsearch release `5.6.8`. Newer
versions of Elasticsearch are not tested and you might experience compatibility issues. versions of Elasticsearch are not tested and you might experience compatibility issues.
``` ```
cd docker/elasticsearch && docker-compose up cd docker/elasticsearch && docker-compose pull && docker-compose up
``` ```
After containers are initialized, we need to create the `dataset` and `users` search indices by running below command: After containers are initialized, we need to create the `dataset` and `users` search indices by running below command:
``` ```

View File

@ -12,7 +12,7 @@ This command will build and deploy the image in your local store.
## Run container ## Run container
``` ```
cd docker/frontend && docker-compose up cd docker/frontend && docker-compose pull && docker-compose up
``` ```
This command will start the container. If you have the image available in your local store, this image will be used This command will start the container. If you have the image available in your local store, this image will be used
for the container otherwise it will download the `latest` image from Docker Hub and then start that. for the container otherwise it will download the `latest` image from Docker Hub and then start that.

View File

@ -12,7 +12,7 @@ This command will build and deploy the image in your local store.
## Run container ## Run container
``` ```
cd docker/gms && docker-compose up cd docker/gms && docker-compose pull && docker-compose up
``` ```
This command will start the container. If you have the image available in your local store, this image will be used This command will start the container. If you have the image available in your local store, this image will be used
for the container otherwise it will download the `latest` image from Docker Hub and then start that. for the container otherwise it will download the `latest` image from Docker Hub and then start that.

View File

@ -7,7 +7,7 @@ any modification.
## Run Docker container ## Run Docker container
Below command will start all Kafka related containers. Below command will start all Kafka related containers.
``` ```
cd docker/kafka && docker-compose up cd docker/kafka && docker-compose pull && docker-compose up
``` ```
As part of `docker-compose`, we also initialize a container called `kafka-setup` to create `MetadataAuditEvent` and As part of `docker-compose`, we also initialize a container called `kafka-setup` to create `MetadataAuditEvent` and
`MetadataChangeEvent` topics. The only thing this container does is creating Kafka topics after Kafka broker is ready. `MetadataChangeEvent` topics. The only thing this container does is creating Kafka topics after Kafka broker is ready.

View File

@ -12,7 +12,7 @@ This command will build and deploy the image in your local store.
## Run container ## Run container
``` ```
cd docker/mae-consumer && docker-compose up cd docker/mae-consumer && docker-compose pull && docker-compose up
``` ```
This command will start the container. If you have the image available in your local store, this image will be used This command will start the container. If you have the image available in your local store, this image will be used
for the container otherwise it will download the `latest` image from Docker Hub and then start that. for the container otherwise it will download the `latest` image from Docker Hub and then start that.

View File

@ -12,7 +12,7 @@ This command will build and deploy the image in your local store.
## Run container ## Run container
``` ```
cd docker/mce-consumer && docker-compose up cd docker/mce-consumer && docker-compose pull && docker-compose up
``` ```
This command will start the container. If you have the image available in your local store, this image will be used This command will start the container. If you have the image available in your local store, this image will be used
for the container otherwise it will download the `latest` image from Docker Hub and then start that. for the container otherwise it will download the `latest` image from Docker Hub and then start that.

View File

@ -7,7 +7,7 @@ any modification.
## Run Docker container ## Run Docker container
Below command will start the MySQL container. Below command will start the MySQL container.
``` ```
cd docker/mysql && docker-compose up cd docker/mysql && docker-compose pull && docker-compose up
``` ```
An initialization script [init.sql](init.sql) is provided to container. This script initializes `metadata-aspect` table An initialization script [init.sql](init.sql) is provided to container. This script initializes `metadata-aspect` table

View File

@ -1,7 +1,7 @@
# Data Hub Quickstart # Data Hub Quickstart
To start all Docker containers at once, please run below command: To start all Docker containers at once, please run below command:
``` ```
cd docker/quickstart && docker-compose up cd docker/quickstart && docker-compose pull && docker-compose up
``` ```
After containers are initialized, we need to create the `dataset` and `users` search indices by running below command: After containers are initialized, we need to create the `dataset` and `users` search indices by running below command:
``` ```