Custom Drivers
Obtaining Custom Drivers
Users that want to use the specific Drivers like Snowflake, Google Spanner that are not included in the standard Atlas CLI release can do so by following the instructions below.
- macOS + Linux
- Docker
- Windows
To download and install the custom release of the Atlas CLI, simply run the following in your terminal:
curl -sSf https://atlasgo.sh | ATLAS_FLAVOR="snowflake" sh
To pull the Atlas image and run it as a Docker container:
docker pull arigaio/atlas-beta
docker run --rm arigaio/atlas-beta --help
If the container needs access to the host network or a local directory, use the --net=host flag and mount the desired
directory:
docker run --rm --net=host \
-v $(pwd)/migrations:/migrations \
arigaio/atlas-beta migrate apply
--url "mysql://root:pass@:3306/test"
Download the custom release and move the atlas binary to a file location on your system PATH.
Custom Drivers
The following drivers are currently available as custom drivers:
- Snowflake
- Google Spanner
- Databricks