Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

docker-machine scp of pem file fails with Docker Machine version 0.13.0 #256

Open
subodh-hatkar opened this issue Nov 16, 2017 · 0 comments

Comments

@subodh-hatkar
Copy link

Due to an open docker machine issue, the scp of pem file from local machine to docker machine fails with exit status 1.

Error:

Copying via docker-machine to the ADOP-PR...
usage: scp [-346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
           [-l limit] [-o ssh_option] [-P port] [-S program]
           [[user@]host1:]file1 ... [[user@]host2:]file2
exit status 1

Steps to recreate the issue:

  1. Install docker-machine version:
$ docker-machine --version
docker-machine.exe version 0.13.0, build 9ba6da9
  1. Create and source the environment var file with following variables:
export DOCKER_MACHINE_TYPE=<DOCKER_MACHINE_TYPE>
export DOCKER_MACHINE_NAME=<DOCKER_MACHINE_NAME>
export AWS_ACCESS_KEY=<AWS_ACCESS_KEY>
export AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS_KEY>
export AWS_DEFAULT_REGION=<AWS_DEFAULT_REGION>
export AWS_VPC_ID=<AWS_VPC_ID>
export INITIAL_ADMIN_USER=<INITIAL_ADMIN_USER>
export INITIAL_ADMIN_PASSWORD=<INITIAL_ADMIN_PASSWORD>
  1. Run quickstart.sh
./quickstart.sh -t  ${DOCKER_MACHINE_TYPE} -m ${DOCKER_MACHINE_NAME} -c ${AWS_VPC_ID} -r ${AWS_DEFAULT_REGION} -a ${AWS_ACCESS_KEY} -s ${AWS_SECRET_ACCESS_KEY} -u ${INITIAL_ADMIN_USER} -p ${INITIAL_ADMIN_PASSWORD}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant