Coder Social home page Coder Social logo

dockerx2go's Introduction

#DockerX2go

Docker images which contain different Desktop setups

Currently we have

  1. Xubuntu 14.04
  2. Ubuntu 14.04 with LXDE
  3. Centos with XFCE

more coming

Demo

How to run a desktop on Docker ?

git clone https://github.com/paimpozhil/DockerX2go.git 
cd centos  ## or whatever
docker build -t [yourimagename] .
CID=$(docker run -p 2222:22 -t -d [yourimagename])

or simply 

CID=$(docker run -p 2222:22 -t -d paimpozhil/dockerx2go)
docker logs $CID

note down the root/dockerx passwords.

Please see README under these for more specific information

https://github.com/paimpozhil/DockerX2go/tree/master/xubuntu

https://github.com/paimpozhil/DockerX2go/tree/master/centos

https://github.com/paimpozhil/DockerX2go/tree/master/lxde

How to run/connect to server with a Client?

Download the x2go client for your OS from: http://wiki.x2go.org/doku.php/doc:installation:x2goclient

Connect to your server with

Host : (Your Server IP) Port : 2222 Username : root Password : (varies or could be just 'changeme')

Select the Session TYPE as : XFCE or LXDE depending on your setup .

You can also SSH to the docker container directly with root or dockerx users and their passwords over the port 2222 with linux ssh or windows putty clients.

users dockerx can be used to login however for some reason you need to use root for your very first login then you can use dockerx to login with x2go :)

ssh root@dockerhost -p 2222

WHY ?

I wanted Isolated thin client server setup that still re-uses the disk/memory for common programs and OS.

A Full desktop running on the docker so I can painlessly create multiple isolated linux systems to which our thinclients on our offices work with.

Instead of running 20 seperate virtual machines that has the same Kernel/Same applications that take up lot of ram ( 20x) I wanted to use a common VM with same base os/applications and then users can customize the os do anything they want without killing other users/etc.

This system also works as a VERY cheap remote-desktop for anyone who wants a desktop on the cloud for anything from working remotely or browse internet where there are VPN restrictions.

Note you can run like 2-3 desktops over a cheap DigitalOcean/Linode like VPS.

Need support?

###Credits:

####http://bmullan.wordpress.com/ ####https://github.com/rogaha/docker-desktop ####https://github.com/tutumcloud/tutum-ubuntu

Docker.io && x2go.org

dockerx2go's People

Contributors

paimpozhil avatar

Watchers

James Cloos avatar  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.