SSH Pipe Container
Create an ssh pipe to an AWS host:
This container sets up an SSH pipe to your Amazon docker host.
Here's an example:
docker run\
-it\
-p 2374:2374\
-v /run/secrets/keys/aws/ssh/usc/its-bsa-dev-us-west-2-key-pair.pem:/run/secrets/keys/aws/ssh/usc/its-bsa-dev-us-west-2-key-pair.pem\
-e SECRET_PATH=/run/secrets/keys/aws/ssh/usc/its-bsa-dev-us-west-2-key-pair.pem\
-e USER_HOST=docker@ec2-35-160-115-87.us-west-2.compute.amazonaws.com\
uscdev/ssh-pipe
Next, open another terminal windows and set the docker host:
export DOCKER_HOST=:2374
Now you are ready to execute docker commands against your remote swarm.
Content type
Image
Digest
Size
77.8 MB
Last updated
about 9 years ago
docker pull uscdev/ssh-pipe