The server runs on port 80.
docker pull aureliend/cloud9:latest
docker run --rm --name cloud9 -p 80:80 aureliend/cloud9:latest
docker build -t aureliend/cloud9:latest --compress . --build-arg BUILD_DATE="0000-00-00T00:00:00" --build-arg VCS_REF="TEST"
docker run --rm --name cloud9 -it -p 80:80 aureliend/cloud9:latest node /cloud9/server.js -p 80 -l 0.0.0.0 -w /workspace -a login:password
To install the C9 SDK: Running the SDK
The github repo: Cloud9 Core
To start docker:
cd "C:\Program Files\Docker Toolbox"
"C:\Program Files\Git\bin\bash.exe" --login -i "C:\Program Files\Docker Toolbox\start.sh"
REM docker-machine env "Display the commands to set up the environment for the Docker client"
@FOR /f "tokens=*" %i IN ('docker-machine env') DO @%i
With VirtualBox UI, make sure the first network card of the VM has 'NAT' mode In the VM, enter:
echo "nameserver 8.8.8.8" > /etc/resolv.conf
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf
docker run --rm --name cloud9 -it -p 80:80 aureliend/cloud9:latest bash
To run the Cloud9 server:
node /cloud9/server.js -p 80 -l 0.0.0.0 -w /workspace -a :
docker image prune
See https://gist.github.com/ngpestelos/4fc2e31e19f86b9cf10b
FOR /f "tokens=*" %i IN ('docker ps -a -q') DO docker rm %i
FOR /f "tokens=*" %i IN ('docker images -aq') DO docker rmi %i