Sign inSign up

gymsmart/postgres

By gymsmart

•Updated over 8 years ago

Docker image for running PLV8 1.4 on Postgres 9 (9.4)

Image
0

89

gymsmart/postgres repository overview

⁠postgres-plv8

本镜像源自于DockerHub镜像clkao⁠/postgres-plv8⁠。

⁠Usage

⁠How to use this image

This image behaves exactly like the official Postgres image with the only difference being the inclusion of the plv8 extension.

$ docker exec -it postgres bash -c 'psql -U postgres -c "CREATE EXTENSION plv8; SELECT extversion FROM pg_extension WHERE extname = ''plv8'';"'```

You should see the version of the plv8 extension installed.

You can optionally create a service using `docker-compose`:

```postgres:
  image: clkao/postgres-plv8:10-2```
eg:

docker run --restart always --name postgres -itd -p 5432:5432 -e POSTGRES_PASSWORD=yourpasswd gymsmart/postgres:9.5

## Image variants

The `clkao/postgres-plv8` image comes in multiple flavors:

### `clkao/postgres-plv8:latest`

Points to the latest release available of Postgres stable with compatible plv8 installed. Occasionally pre-release versions will be included.

### `clkao/postgres-plv8:<postgresVersion>-<plv8Version>`

Points to the latest release available of Postgres `<postgresVersion>` with the latest release available of plv8 `<plv8Version>` installed.

## Supported Docker versions

This image is officially supported on Docker version 17.09, with support for older versions provided on a best-effort basis.

Tag summary

Content type

Image

Digest

Size

126.8 MB

Last updated

over 8 years ago

docker pull gymsmart/postgres:9.5