import {versions} from '@site/src/componentVersions';
import CodeBlock from '@theme/CodeBlock';
The BigQuery Loader is published as a Docker image which you can run on any {props.cloud} VM.
{
docker pull snowplow/bigquery-loader-${props.stream}:${versions.bqLoader}
}
To run the loader, mount your config file into the docker image, and then provide the file path on the command line.
{
docker run \\ --mount=type=bind,source=/path/to/myconfig,destination=/myconfig \\ snowplow/bigquery-loader-${props.stream}:${versions.bqLoader} \\ --config=/myconfig/loader.hocon \\ --iglu-config /myconfig/iglu.hocon
}
Where loader.hocon
is loader's configuration file and iglu.hocon
is iglu resolver configuration.