Skip to content

Commit cd0b7c1

Browse files
committed
Use release version for example commands
1 parent 04c4281 commit cd0b7c1

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ Documentation for each subcommand:
2121

2222
Using Docker links to `postgres` container. This will display the usage information:
2323

24-
```docker run --rm -i -t --link myserver:postgres docker.io/panubo/postgres-toolbox```
24+
```docker run --rm -i -t --link myserver:postgres docker.io/panubo/postgres-toolbox:1.0.0```
2525

2626
To run the subcommand:
2727

28-
```docker run --rm -i -t --link myserver:postgres docker.io/panubo/postgres-toolbox <subcommand>```
28+
```docker run --rm -i -t --link myserver:postgres docker.io/panubo/postgres-toolbox:1.0.0 <subcommand>```
2929

3030
## Configuration
3131

commands/create-readonly-user.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Or alternatively specify the individual variables:
2323

2424
Create `foo` user with read-only privileges to the public schema in a database with the same name:
2525

26-
```docker run --rm -i -t -e DATABASE_HOST=172.19.66.4 -e DATABASE_USER=root -e DATABASE_PASS=foo docker.io/panubo/postgres-toolbox create-readonly-user foodb foouser foopass```
26+
```docker run --rm -i -t -e DATABASE_HOST=172.19.66.4 -e DATABASE_USER=root -e DATABASE_PASS=foo docker.io/panubo/postgres-toolbox:1.0.0 create-readonly-user foodb foouser foopass```
2727

2828
Using Docker links to `postgres` container:
2929

30-
```docker run --rm -i -t --link myserver:postgres docker.io/panubo/postgres-toolbox create-readonly-user foodb foouser foopass```
30+
```docker run --rm -i -t --link myserver:postgres docker.io/panubo/postgres-toolbox:1.0.0 create-readonly-user foodb foouser foopass```

commands/create-user-db.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Or alternatively specify the individual variables:
2323

2424
Create `foo` user with full privileges to a database with the same name:
2525

26-
```docker run --rm -i -t -e DATABASE_HOST=172.19.66.4 -e DATABASE_USER=root -e DATABASE_PASS=foo docker.io/panubo/postgres-toolbox create-user-db foo foopass```
26+
```docker run --rm -i -t -e DATABASE_HOST=172.19.66.4 -e DATABASE_USER=root -e DATABASE_PASS=foo docker.io/panubo/postgres-toolbox:1.0.0 create-user-db foo foopass```
2727

2828
Using Docker links to `postgres` container:
2929

30-
```docker run --rm -i -t --link myserver:postgres docker.io/panubo/postgres-toolbox create-user-db foo foopass```
30+
```docker run --rm -i -t --link myserver:postgres docker.io/panubo/postgres-toolbox:1.0.0 create-user-db foo foopass```

commands/delete-user-db.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Or alternatively specify the individual variables:
2222

2323
Delete `foo` user and database with the same name:
2424

25-
```docker run --rm -i -t -e DATABASE_HOST=172.19.66.4 -e DATABASE_USER=root -e DATABASE_PASS=foo docker.io/panubo/postgres-toolbox delete-user-db foo```
25+
```docker run --rm -i -t -e DATABASE_HOST=172.19.66.4 -e DATABASE_USER=root -e DATABASE_PASS=foo docker.io/panubo/postgres-toolbox:1.0.0 delete-user-db foo```
2626

2727
Using Docker links to `postgres` container:
2828

29-
```docker run --rm -i -t --link myserver:postgres docker.io/panubo/postgres-toolbox delete-user-db foo```
29+
```docker run --rm -i -t --link myserver:postgres docker.io/panubo/postgres-toolbox:1.0.0 delete-user-db foo```

commands/fix-owner.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ Alternatively specify the individual variables:
2121

2222
## Usage Example
2323

24-
```docker run --rm -i -t -e DATABASE_HOST=172.19.66.4 -e DATABASE_USER=root -e DATABASE_PASS=foo docker.io/panubo/postgres-toolbox acme_prod```
24+
```docker run --rm -i -t -e DATABASE_HOST=172.19.66.4 -e DATABASE_USER=root -e DATABASE_PASS=foo docker.io/panubo/postgres-toolbox:1.0.0 acme_prod```

commands/load.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ Alternatively specify the individual variables:
2727

2828
## Usage Example
2929

30-
```docker run --rm -i -t -e DATABASE_HOST=172.19.66.4 -e DATABASE_USER=root -e DATABASE_PASS=foo -e DUMP_DIR=/srv docker.io/panubo/postgres-toolbox load```
30+
```docker run --rm -i -t -e DATABASE_HOST=172.19.66.4 -e DATABASE_USER=root -e DATABASE_PASS=foo -e DUMP_DIR=/srv docker.io/panubo/postgres-toolbox:1.0.0 load```

commands/save.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ Alternatively specify the individual variables:
2828

2929
## Usage Example
3030

31-
```docker run --rm -i -t -e DATABASE_HOST=172.19.66.4 -e DATABASE_USER=root -e DATABASE_PASS=foo -e DUMP_DIR=/srv docker.io/panubo/postgres-toolbox save```
31+
```docker run --rm -i -t -e DATABASE_HOST=172.19.66.4 -e DATABASE_USER=root -e DATABASE_PASS=foo -e DUMP_DIR=/srv docker.io/panubo/postgres-toolbox:1.0.0 save```

commands/vacuum.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ Alternatively specify the individual variables:
1919

2020
## Usage Example
2121

22-
```docker run --rm -i -t -e DATABASE_HOST=172.19.66.4 -e DATABASE_USER=root -e DATABASE_PASS=foo docker.io/panubo/postgres-toolbox vacuum```
22+
```docker run --rm -i -t -e DATABASE_HOST=172.19.66.4 -e DATABASE_USER=root -e DATABASE_PASS=foo docker.io/panubo/postgres-toolbox:1.0.0 vacuum```

0 commit comments

Comments
 (0)