Skip to content

vibepg up / down / restart ​

Three small commands that toggle a container's run state. None of them touch persistence or credentials.

up ​

Synopsis ​

bash
vibepg up <name>

Description ​

Start a stopped container and wait until Postgres is ready to accept connections.

Examples ​

bash
vibepg up demo

down ​

Synopsis ​

bash
vibepg down <name>

Description ​

Stop a running container. Data and volume are untouched. The container itself isn't removed.

Examples ​

bash
vibepg down demo

restart ​

Synopsis ​

bash
vibepg restart <name>

Description ​

Stop and start the container in sequence, waiting for readiness on the way back up. Equivalent to down + up.

Examples ​

bash
vibepg restart demo

Arguments (all three) ​

NameRequiredDescription
nameyesInstance name

Options ​

None.

Notes ​

  • up after rm doesn't work — the container is gone. Use vibepg new to recreate.
  • restart is idempotent on a stopped instance — it just starts it.

See also ​

Released under the MIT License.