Skip to content

BarryWilliams/cloud9-docker-arm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cloud9 v3 in docker on Raspberry Pi

This is a fork from kdelfour. I also used flyingprogrammer's repo for reference. Much thanks to those two for their excellent work.

The major differences in this fork are the following:

  1. This is an ARM architecture
  2. Node runs as a non-root user - hence port 8080

Base Docker Image

armv7/armhf-ubuntu:14.10

Docker Hub Image

barrywilliams/cloud9-docker-arm

Installation

Install Docker

Follow Hypriot's Blog to install docker on a Raspberry Pi

Run it

docker run -it -d -p 80:8080 barrywilliams/cloud9-docker-arm

You can also provide auth credentials

docker run -d -p 80:8080 -e AUTH=user:pass barrywilliams/cloud9-docker-arm

And the collab flag

docker run -d -p 80:8080 -e COLLAB=true barrywilliams/cloud9-docker-arm

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:8080 -v /your-path/workspace/:/workspace/ barrywilliams/cloud9-docker-arm

Use It

Navigate to your raspberry pi: http://<your pi's address>

Build It

Clone the latest repo on a Raspberry Pi with Docker.

git clone https://github.com/barrywilliams/cloud9-docker-arm

Build it

docker build cloud9-docker-arm/ --force-rm=true --tag="$USER/cloud9-docker-arm:latest" .

And run

docker run -d -p 80:80 -v /your-path/workspace/:/workspace/ $USER/cloud9-docker-arm:latest

Enjoy !!

About

Cloud9 Dockerfile ARM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%