docs: Recommend pulling latest docker image first

pull/24376/head
Carol (Nichols || Goulding) 2021-06-16 11:12:26 -04:00
parent 135d885ca5
commit 44c2c0c763
1 changed files with 7 additions and 2 deletions

View File

@ -73,8 +73,13 @@ TEST_INTEGRATION=1 KAFKA_CONNECT=localhost:9093 cargo test -p influxdb_iox --tes
### Running `cargo test` in a Docker container
Alternatively, you can do what CI does by compiling the tests and running `cargo test` in a Docker
container as well, by running this Docker Compose command that uses
`docker/Dockerfile.ci.integration`:
container as well. First, make sure you have the latest `rust:ci` image by running:
```
docker image pull quay.io/influxdb/rust:ci
```
Then run this Docker Compose command that uses `docker/Dockerfile.ci.integration`:
```
docker-compose -f docker/ci-kafka-docker-compose.yml up --build --force-recreate --exit-code-from rust