Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

jychp/docker-xubuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-xubuntu

Official Docker ubuntu image with XFCE and VNC Server

Requirements

Only if you want to use VNC client (other solution is noVNC)

sudo apt install xtightvncviewer

Usage

Build image

git clone https://github.com/jychp/docker-xubuntu
cd docker-xubuntu
docker build -t xubuntu .

Launch and connect

CID=$(sudo docker run -d xubuntu); CIP=$(sudo docker inspect --format '{{ .NetworkSettings.IPAddress }}' $CID); vncviewer $CIP:2
vncviewer <container_ip>:2

Using noVNC

CID=$(sudo docker run -d xubuntu); CIP=$(sudo docker inspect --format '{{ .NetworkSettings.IPAddress }}' $CID); vncviewer $CIP:2
echo "http://<container_ip>:6901"

Options

VNC password and resolution can be passed using environment variables.

About

Official Docker ubuntu image with XFCE and VNC Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published