0

I am totally newbie using AWS Simple Workflow, but before I start learning I would like to know if it is possible to run a docker container inside a EC2 instance.

I know that my EC2 instance has a ECS Agent, so I imagine that i cant send a START TASK to this ecs daemon.

Does anyone has experience doing this?

p.magalhaes
  • 7,595
  • 10
  • 53
  • 108

1 Answers1

1

AWS documentation on docker: Docker Basics ECS
As per the documentation, docker can be started using 'sudo service docker start'

This is an old post, but I think this may be still relevant for your question.
Docker On EC2

Community
  • 1
  • 1
phoenix
  • 3,069
  • 3
  • 22
  • 29
  • The ECS service is designed to do exactly what the questions is asking about. Of course you can also manually run a docker container on an EC2 instance. ECS is just designed to help manage the deployment and scaling. – Mark.ewd Nov 04 '15 at 19:58