From 75f091a80059ca6c8dc8b2c93ebf16f6effb892d Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 3 Sep 2019 19:06:01 +0000 Subject: First public version --- create.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 create.sh (limited to 'create.sh') 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 -- cgit v1.2.3