arigaio/atlas

By arigaio

Updated about 12 hours ago

The Official Atlas Image by Ariga

Image
Databases & Storage
Integration & Delivery
Monitoring & Observability
7

1M+

Intro

This is the official image of Atlas.

About

Atlas: manage your database schema as code

TwitterDiscord

image

Atlas is a language-agnostic tool for managing and migrating database schemas using modern DevOps principles. It offers two workflows:

  • Declarative: Similar to Terraform, Atlas compares the current state of the database to the desired state, as defined in an HCL, SQL, or ORM schema. Based on this comparison, it generates and executes a migration plan to transition the database to its desired state.

  • Versioned: Unlike other tools, Atlas automatically plans schema migrations for you. Users can describe their desired database schema in HCL, SQL, or their chosen ORM, and by utilizing Atlas, they can plan, lint, and apply the necessary migrations to the database.

Supported databases:

MySQL, MariaDB, PostgresSQL, SQLite, TiDB, CockroachDB, SQL Server, ClickHouse, Redshift.

Getting Started

Pull the latest image:

docker pull arigaio/atlas:latest

List all available commands:

docker run --rm -it arigaio/atlas:latest --help

A database toolkit.

Usage:
  atlas [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  license     Display license information
  login       Log in to Atlas Cloud.
  logout      Logout from Atlas Cloud.
  migrate     Manage versioned migration files
  schema      Work with atlas schemas.
  version     Prints this Atlas CLI version information.

Flags:
  -h, --help   help for atlas

Use "atlas [command] --help" for more information about a command.
Learn more

Docker Pull Command

docker pull arigaio/atlas