This is a fork of kdelfour/cloud9-docker. Many thanks to kdelfour for making this lightweight docker image of Cloud9. It uses only around ~110MB when idle. ;) This repo contains some of my modification to make the cloud9-docker more flexibility.
Download automated build from public Docker Hub Registry: docker pull kdelfour/cloud9-docker
(alternatively, you can build an image from Dockerfile: docker build -t="kdelfour/cloud9-docker" github.com/kdelfour/cloud9-docker)
docker run -it -d -p 80:80 minhnhut/cloud9-docker
You can add a workspace as a volume directory with the argument -v /your-path/workspace/:/workspace/ like this :
docker run -it -d -p 80:80 -v /your-path/workspace/:/workspace/ minhnhut/cloud9-docker
You can pass some extra parameters to node /cloud9/server.js by using Enviroment variable: C9_EXTRA Example:
docker run -it -d -p 80:80 -v minhnhut/cloud9-docker -e C9_EXTRA='--auth user:password'
Above usage enable built-in basic authentication of cloud9-sdk with 'user' as username, and 'password' as password.
Get the latest version from github
git clone https://github.com/minhnhut/cloud9-docker
cd cloud9-docker/
Build it
sudo docker build --force-rm=true --tag="$USER/cloud9-docker:latest" .
And run
sudo docker run -d -p 80:80 -v /your-path/workspace/:/workspace/ $USER/cloud9-docker:latest
Enjoy !!
Content type
Image
Digest
Size
392.1 MB
Last updated
over 8 years ago
docker pull minhnhut/cloud9