Update . The answer below applies to c9.io and not to AWS Cloud9. AWS Cloud9 allows you to run Docker, as usual, with any support you use for your environment, be it EC2 or another virtual machine vendor.
Installing Docker on a Cloud9 workspace will not work because C9 workspaces work on Docker. Running Docker inside Docker would require special permissions and is therefore not recommended for those who know better for security reasons.
In doing so, you can use Docker from the SSH workspace , which allows you to connect Cloud9 to your own server. Since this workspace does not work in Docker (on Cloud9 servers), you can do whatever you want with it (including running Docker).
Brady dowling
source share