Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adds simple install script

  • Loading branch information...
commit 79fbe0c32e282032b5be0a5f51e0d793989d5298 1 parent f402880
@stefanfoulis stefanfoulis authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 install.sh
View
13 install.sh
@@ -0,0 +1,13 @@
+#! /bin/bash
+###########################################################
+# this is the I-totally-trust-you-quick-installer-script.
+# pulls the docker-api-exposer from index.docker.io and
+# runs it.
+###########################################################
+
+echo 'Installing docker-api-exposer'
+echo 'Please enter a basic auth password to be used to access the api over http:'
+read -s PASSWORD
+# 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
Please sign in to comment.
Something went wrong with that request. Please try again.