From 04059f36ab8b729f12f0112f82c378fbcadbd297 Mon Sep 17 00:00:00 2001 From: Robert Metcalf Date: Sun, 9 Dec 2018 09:08:53 +0000 Subject: [PATCH] SSH-KEY is wrong it should be SSH_KEY I could not get this working but when I changed it to SSH_KEY it worked. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index adbe6dd..3443915 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Lets assume you want to control the docker daemon on your `webserver.com` server Or you can pass `ssh` key as the environment variable (assuming you've setup `SSH_KEY`) - $ docker run -it --rm -e SSH-KEY=${SSH_KEY} codefresh/remote-docker rdocker user@webserver.com + $ docker run -it --rm -e SSH_KEY=${SSH_KEY} codefresh/remote-docker rdocker user@webserver.com This will open a new `bash` session, within the `codefresh/remote-docker` container, with a new `DOCKER_HOST` variable setup. Any `docker` command you execute will take place on the remote docker daemon. To test the connection run: