Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker Instruction added for accessing Postgres shell #422

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 18 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ You can use a <a href="https://www.postgresql.org/download/">package management
<br>

```bash
sudo apt install postgresql

sudo apt install postgresql
```
<h4>
&nbsp;Install From Source Code
Expand Down Expand Up @@ -180,9 +179,8 @@ make PG_CONFIG=/path/to/postgres/bin/pg_config install

```bash
docker pull apache/age

```
<h5> Create AGE docker container </h5>
<h5> Create AGE docker container for first time</h5>

```bash
docker run \
Expand All @@ -195,7 +193,23 @@ docker run \
apache/age
```

<h5> Or Run docker container if you previously worked with AGE container </h5>

```bash
docker start age
```

<h5> Access CLI for running AGE container</h5>

```bash
docker exec -it age /bin/bash
```

<h5> Access Postgres shell </h5>

```bash
psql -U postgresUser postgresDB
```

<h2><img height="20" src="/img/contents.svg">&nbsp;&nbsp;Post Installation</h2>

Expand Down