diff options
author | Rob Austein <sra@hactrn.net> | 2019-09-03 19:06:01 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2019-09-03 19:14:09 +0000 |
commit | 75f091a80059ca6c8dc8b2c93ebf16f6effb892d (patch) | |
tree | c89c6f14152a32238760530aeee0b188706b2a12 /create.sh |
First public version
Diffstat (limited to 'create.sh')
-rwxr-xr-x | create.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/create.sh b/create.sh new file mode 100755 index 0000000..41e38d0 --- /dev/null +++ b/create.sh @@ -0,0 +1,14 @@ +#!/bin/sh - + +# Sample of how one might start up an rpki-rp container, season to +# taste. This configuration publishes the rpki-rtr port globally, and +# publishes the rcynic web status pages to localhost on port 8888. + +docker create -it \ + --name rpki-rp \ + --privileged \ + --publish 323:323 \ + --publish 127.0.0.1:8888:80 \ + --mount 'type=volume,source=rpki-rp-postgres,target=/var/lib/postgresql/9.6/main' \ + --mount 'type=volume,source=rpki-rp-rcynic,target=/var/rcynic' \ + rpki-rp:latest |