“The output of `ssh-add -l` doesn't contain 'RSA'. Start the agent, add your keys?” in Docker

I am following this article and have included my AWS credentials. I installed several CLI things required, and now get:

$ ./trainer start 5
Greetings, cchilders/cchilders!
The output of `ssh-add -l` doesn't contain 'RSA'. Start the agent, add your keys?

I have already did eval $(ssh-agent) which doesn’t help.

  • Docker container is not able to populate SECRET_TOKEN env variable for rails app
  • Private Github repositories in dockerized rails application during build
  • Makefile - append to command
  • Bad log time in Docker
  • chrome fake audioinput with real audio output?
  • Should files from a base Docker image be present in a derived image?
  • Where are the Docker registry login files?
  • Error response from daemon: Get https://x.x.x.x/v1/users/: x509: certificate signed by unknown authority
  • Error while cleaning images from docker
  • Rails controller caching when using docker container (dev)
  • Doesn't Docker port binding obviate the need for Kubernetes' complex networking model?
  • Find host ip from a docker container running in boot2docker / osx
  • One Solution collect form web for ““The output of `ssh-add -l` doesn't contain 'RSA'. Start the agent, add your keys?” in Docker”

    Run:

    ssh-add
    

    …to actually add a key with the default name (~/.ssh/id_rsa) to your agent (assuming you’ve created a key; if you haven’t you’ll need to go back and do that). If you created a key saved with a different name, pass that name on the ssh-add command line.

    That said, on MacOS X, you generally shouldn’t start ssh-agent yourself at all! The keychain on OS X fulfils the agent protocol.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.