Ganti NEW_PASSWORD dengan sandi untuk menetapkan pengguna postgres penampung baru setelah pembuatannya.
Terhubung ke AlloyDB Omni dalam penampung menggunakan psql:
dockerexec-itmy-omnipsql-hlocalhost-Upostgres
Jendela terminal menampilkan teks login psql yang diakhiri dengan prompt postgres=#.
Pembersihan
Untuk membersihkan penampung AlloyDB Omni yang Anda buat selama panduan memulai ini, gunakan langkah-langkah berikut:
Hentikan penampung AlloyDB Omni yang bernama my-omni:
dockercontainerstopmy-omni
Hapus penampung AlloyDB Omni yang bernama my-omni:
dockercontainerrmmy-omni
Untuk mengetahui petunjuk cara menginstal AlloyDB Omni dalam penampung baru untuk penggunaan produksi, buka halaman Menyesuaikan penginstalan AlloyDB Omni.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-04-14 UTC."],[[["AlloyDB Omni can be installed in any UNIX-based environment that supports container runtimes, requiring minimum hardware like an x86-64 or Arm CPU with AVX2 support, 2 GB of RAM, and 10 GB of disk space."],["A container runtime such as Docker or Podman needs to be installed before you can install AlloyDB Omni, which will then run within a container."],["Installation is done by using the `docker run` command, which creates a new container and allows you to set a password for the container's `postgres` user."],["You can connect to your containerized AlloyDB Omni instance using `psql` via the command `docker exec -it my-omni psql -h localhost -U postgres`."],["The container's data directory is deleted when the AlloyDB Omni container is removed unless you mount a data directory on your host file system, which would require customization."]]],[]]