Docker Community Forums

Share and learn in the Docker community.

Using docker-compose on cloud.docker

(Vanderkerkoff) #1

Hi there

I’ve got docker-compose running on my local virtual box VM. I’ve got a docker cloud account, and it’s hooked up to AWS as the provider.

What I can’t work out now, is how do I run docker-compose up and have it look at my docker cloud/AWS setup?

Any tips or help would be great


(Kickingthetv) #2

Hi there,

You can use the Docker Cloud CLI, more info here:

Docker Cloud is compatible with Stackfiles, which are very similar to Compose files, more details about them here:

A list of the operations you can run in the Docker Cloud CLI are here:

For example, if you wanted to look up all of your stacks running in Docker Cloud, you would run: docker-cloud stack ls

(Vanderkerkoff) #3

Thanks for that.

I’m now successfully logging into my cloud account using the cli.

I’m still digging around for some good examples of how to use the docker-cloud.yml file, you wouldn’t know of any links to some examples would you?

I’m struggling a bit to understand why I’d use this, and docker cloud, instead of just getting an instance on AWS and use that directly with docker-compose.

I have to use AWS anyway, and pay them, so whats the point of docker cloud?

I’m not having a go, I’m just wondering out loud so I can explain why to my boss. We’re still very much in the evaluation stage here.

(Kickingthetv) #4

There are a ton of examples at which is a stackfile registry.

Docker Cloud’s value over just using AWS and Docker Compose is the automation, simplicity, and the fact that it’s a hosted solution.

Docker Cloud is meant to make it as easy as possible to go from: source code > CI > image/repository/artifact > CD > notification.

We also help you by enabling one-click docker upgrades when a new version of Docker Engine is released, and keep you from worrying about all of the various pieces you would need to configure and maintain, such as networking, logging, monitoring, orchestration, etc. while giving you a means to easily connect your favorite third-party tools such as New Relic, Datadog, Sysdig, etc. for monitoring.