Code Monkey home page Code Monkey logo

cloud9's Introduction

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

cloud9's People

Watchers

Buanderie avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.