You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by jo...@apache.org on 2022/10/11 01:21:05 UTC
[age-website] branch master updated: Add docker commands (#93)
This is an automated email from the ASF dual-hosted git repository.
joshinnis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/age-website.git
The following commit(s) were added to refs/heads/master by this push:
new 85ebbe0 Add docker commands (#93)
85ebbe0 is described below
commit 85ebbe08059a6bcd94ea1a6eb7f318d311f9511b
Author: Arunesh Choudhary <ny...@icloud.com>
AuthorDate: Mon Oct 10 21:21:00 2022 -0400
Add docker commands (#93)
---
docs/intro/setup.md | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/docs/intro/setup.md b/docs/intro/setup.md
index c421895..ffe3ad0 100644
--- a/docs/intro/setup.md
+++ b/docs/intro/setup.md
@@ -87,6 +87,40 @@ sudo su - postgres
psql --port PORT
```
+
+
+## Installing via docker image
+
+### Get the docker image
+
+```shell
+docker pull apache/age
+```
+
+### On the terminal
+
+```shell
+docker run \
+ --name myPostgresDb \
+ -p 5455:5432 \
+ -e POSTGRES_USER=postgresUser \
+ -e POSTGRES_PASSWORD=postgresPW \
+ -e POSTGRES_DB=postgresDB \
+ -d \
+ apache/age
+```
+
+
+
+| Docker variables | Description |
+| ---------------- | -------------------------------------------------- |
+| `--name ` | Assign a name to the container |
+| `-p` | Publish a container's port(s) to the host |
+| `-e` | Set environment variables |
+| `-d` | Run container in background and print container ID |
+
+
+
## Post Installation
### Per Installation Instructions