For an overview of AlloyDB Omni, see AlloyDB Omni overview.
Before you begin
Before you install AlloyDB Omni, make sure that you meet the following requirements.
Choose a download or installation option
| Media | Download locations and installation guides | Deployment to | 
|---|---|---|
| Debian image | DockerHub (tags) | |
| UBI Image (Red Hat) | Red Hat Ecosystem Catalog | 
 
 | 
Fulfill hardware and software requirements
Make sure that you meet the following minimum hardware and software requirements:
| OS/Platform | Minimum hardware | Minimum software | 
|---|---|---|
| Linux |  |  | 
| macOS |  | |
| (*) Arm support is in Preview. | ||
Verify that cgroupsv2 is enabled
To determine whether cgroupsv2 is enabled on your machine, run the following command:
grep cgroup /proc/filesystems
If your machine supports cgroupsv2, you see the following output:
nodev cgroup
nodev cgroupsv2
If your machine doesn't support cgroupsv2, you see the following output:
nodev cgroup
Install a container runtime
Install a container runtime like Docker or Podman. AlloyDB Omni runs in a container.
Install AlloyDB Omni using Docker
Root access isn't required for installing AlloyDB Omni.
Docker
- Use the - docker runcommand to create a new container with AlloyDB Omni named- my-omni:- docker run --name my-omni \ -e POSTGRES_PASSWORD=NEW_PASSWORD \ -d google/alloydbomni:IMAGE_TAG- Replace the following variables: - NEW_PASSWORD: the password to assign the new container's- postgresuser after its creation.
- IMAGE_TAG: use- 16.8.0for the latest Debian image or- 16.8.0-ubifor the latest UBI image.
 
- Connect to containerized AlloyDB Omni using - psql:- docker exec -it my-omni psql -h localhost -U postgres- The terminal window displays - psqllogin text that ends with a- postgres=#prompt.
Podman
- Use the - docker runcommand to create a new container with AlloyDB Omni named- my-omni:- podman run --name my-omni \ -e POSTGRES_PASSWORD=NEW_PASSWORD \ -d google/alloydbomni:IMAGE_TAG- Replace the following variables: - NEW_PASSWORD: the password to assign the new container's- postgresuser after its creation.
- IMAGE_TAG: use- 16.3.0for the latest Debian image or- 16.3.0-ubifor the latest UBI image.
 
- Connect to containerized AlloyDB Omni using - psql:- podman exec -it my-omni psql -h localhost -U postgres- The terminal window displays - psqllogin text that ends with a- postgres=#prompt.
Clean up
To clean up the AlloyDB Omni container you created during this quickstart, use these steps:
Docker
- Stop your AlloyDB Omni container named - my-omni:- docker container stop my-omni
- Delete your AlloyDB Omni container named - my-omni:- docker container rm my-omni
Podman
- Stop your AlloyDB Omni container named - my-omni:- podman container stop my-omni
- Delete your AlloyDB Omni container named - my-omni:- podman container rm my-omni
For instructions how to install AlloyDB Omni in a new container for production usage, go to the Customize your AlloyDB Omni installation page.