Docker Community Forums

Share and learn in the Docker community.

Deploying containers to Docker Swarm / AWS


(Feltonvillain) #1

I cannot find any straight forward examples of how to deploy my containers to Docker Swarm on AWS.

  1. I’ve linked my Docker Cloud to AWS
  2. I’ve created a Docker Swarm and set it up as AWS
  3. I’ve connected to my swarm.
  4. I’ve tried to docker-compose up and I get this error ‘Error response from daemon: rpc error: code = InvalidArgument desc = ContainerSpec: image reference must be provided’

My assumption was Docker Swarm made deploying the application I run locally to AWS as something easy.

Does anyone have a link that can walk me through using docker-compose to get my containers up to AWS?