“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 Compose Shared Folder
  • How to retrieve metrics from Postfix in Docker Container
  • Volumes not being linked to containers
  • how to create docker restricted network
  • Docker official registry url
  • Pass parameters to docker container using docker run command
  • Enabling debug on Wildfly domain mode in Docker - port already in use
  • Connection refused by Docker container
  • How to run .net core in docker on arch linux
  • Creating multiple PostgreSQL containers in docker in fedora
  • How to run Docker and node.js with remote configurations
  • Where is the rootfs of container in host machine after docker 1.6.0
  • 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.