Docker Desktop

Docker Desktop 可以让你创建可以远程访问的虚拟桌面。它已经安装了 Firefox 和 Libreoffice!「Docker Desktop enables you to create virtual desktops that can be accessed remotely. It comes with Firefox and Libreoffice already installed!」

Github星跟踪图

DOCKER-DESKTOP

Description

This Dockerfile creates a docker image and once it's executed it creates a container that runs X11 and SSH services.
The ssh is used to forward X11 and provide you encrypted data communication between the docker container and your local machine.

Xpra + Xephyr allows to display the applications running inside of the container such as Firefox, LibreOffice, xterm, etc. with recovery connection capabilities. Xpra also uses a custom protocol that is self-tuning and relatively latency-insensitive, and thus is usable over worse links than standard X.

The applications can be rootless, so the client machine manages the windows that are displayed.

Fluxbox and ROX-Filer creates a very minimalist way to manage windows and files.

Docker L

OBS: The client machine needs to have a X11 server installed (Xpra). See the "Notes" below.

Docker Installation

On Ubuntu:

Docker is available as a Ubuntu PPA (Personal Package Archive), hosted on launchpad which makes installing Docker on Ubuntu very easy.

#Add the PPA sources to your apt sources list.
sudo apt-get install python-software-properties && sudo add-apt-repository ppa:dotcloud/lxc-docker
 
# Update your sources
sudo apt-get update
 
# Install, you will see another warning that the package cannot be authenticated. Confirm install.
sudo apt-get install lxc-docker

On Windows:

Requirements:

On Mac OS X:

Requirements:

Installation

Building the docker image

$ docker build -t rogaha/docker-desktop git://github.com/rogaha/docker-desktop.git

OR

$ git clone https://github.com/rogaha/docker-desktop.git
$ cd docker-desktop
$ docker build -t [username]/docker-desktop .

Running the docker image created (-d: detached mode, -P: expose the port 22 on the host machine)

$ CONTAINER_ID=$(docker run -d -P [username]/docker-desktop)

Getting the password generated during runtime

$ echo $(docker logs $CONTAINER_ID

主要指标

概览
名称与所有者rogaha/docker-desktop
主编程语言Shell
编程语言Shell (语言数: 3)
平台Linux, Mac, Windows
许可证
所有者活动
创建于2013-06-29 03:32:51
推送于2022-07-15 21:26:48
最后一次提交2022-07-15 18:26:48
发布数1
最新版本名称v0.3.0 (发布于 2014-03-13 18:24:33)
第一版名称v0.3.0 (发布于 2014-03-13 18:24:33)
用户参与
星数1.2k
关注者数69
派生数286
提交数57
已启用问题?
问题数42
打开的问题数27
拉请求数11
打开的拉请求数0
关闭的拉请求数4
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?