Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: aldryncore/docker-api-exposer
base: 79fbe0c32e
...
head fork: aldryncore/docker-api-exposer
compare: db800805b9
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 19 additions and 5 deletions.
  1. +5 −0 README.rst
  2. +14 −5 install.sh
View
5 README.rst
@@ -11,6 +11,11 @@ between server and client). But some clients lack the ability to work with custo
This solution is simpler for clients and does not require a docker image that contains secrets
(everything can be passed in with environment variables).
+quick-installer (run on the host machine as root)::
+
+ sudo bash <(curl -fsSL https://raw.github.com/aldryn/aldryncloud-docker-api-exposer/master/install.sh)
+
+
starting the container::
$ docker run -i -t -p 0.0.0.0:4243:4243 -v /var/run/docker.sock:/tmp/docker.sock:rw --env PASSWORD='this-is-my-password' aldryn/docker-api-exposer
View
19 install.sh
@@ -1,13 +1,22 @@
#! /bin/bash
-###########################################################
+###############################################################################
# this is the I-totally-trust-you-quick-installer-script.
# pulls the docker-api-exposer from index.docker.io and
-# runs it.
-###########################################################
+# runs it.
+#
+# to install:
+# bash <(curl -fsSL https://raw.github.com/aldryn/aldryncloud-docker-api-exposer/master/install.sh)
+#
+# install and pass in the password directly without prompting:
+# PASSWORD=my-awesome-pasword bash <(curl -fsSL https://raw.github.com/aldryn/aldryncloud-docker-api-exposer/master/install.sh)
+#
+###############################################################################
echo 'Installing docker-api-exposer'
-echo 'Please enter a basic auth password to be used to access the api over http:'
-read -s PASSWORD
+if [[ -z "$PASSWORD" ]]; then
+ echo 'Please enter a basic auth password to be used to access the api over http:'
+ read -s PASSWORD
+fi
# echo 'removing previous docker containers named "docker-api-exposer"'
# docker stop docker-api-exposer | xargs docker rm
docker run -d -p 0.0.0.0:4243:4243 -v /var/run/docker.sock:/tmp/docker.sock:rw --env PASSWORD="$PASSWORD" -name docker-api-exposer aldryn/docker-api-exposer:v6

No commit comments for this range

Something went wrong with that request. Please try again.