Skip to content
This repository was archived by the owner on Jun 15, 2020. It is now read-only.

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for Cloud9

Usage

The server runs on port 80.

Get it

Docker hub

docker pull aureliend/cloud9:latest

Run

docker run --rm --name cloud9 -p 80:80 aureliend/cloud9:latest

Build

docker build -t aureliend/cloud9:latest --compress . --build-arg BUILD_DATE="0000-00-00T00:00:00" --build-arg VCS_REF="TEST"

Customize server

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

Information

To install the C9 SDK: Running the SDK

The github repo: Cloud9 Core

Windows - Docker toolbox (the old docker)

With cmd

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

In case of network and DNS errors

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

Other commands

Run with command line bash

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 :

Remove dangling docker images

docker image prune

Remove containers (Windows)

See https://gist.github.com/ngpestelos/4fc2e31e19f86b9cf10b

FOR /f "tokens=*" %i IN ('docker ps -a -q') DO docker rm %i

Remove ALL images

FOR /f "tokens=*" %i IN ('docker images -aq') DO docker rmi %i

About

Docker image for standalone Cloud9 (c9.io)

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages