mirror of
https://github.com/DCsunset/docker-archlinux-vnc
synced 2025-12-29 20:22:29 +01:00
96 lines
1.7 KiB
Markdown
96 lines
1.7 KiB
Markdown
# docker-archlinux-vnc
|
|
|
|
[](https://hub.docker.com/r/dcsunset/archlinux-vnc)
|
|
[](https://hub.docker.com/r/dcsunset/archlinux-vnc)
|
|
|
|
A docker image of Arch Linux with Xfce desktop and VNC support.
|
|
|
|
## Screenshots
|
|
|
|

|
|
|
|

|
|
|
|
|
|
## Pull image
|
|
|
|
```
|
|
docker pull dcsunset/archlinux-vnc
|
|
```
|
|
|
|
The tag can be one of those listed above.
|
|
|
|
## Usage
|
|
|
|
Simple usage:
|
|
|
|
```
|
|
docker run -d -p 5900:5900 -p 6080:6080 -e VNC_PASSWD=password dcsunset/archlinux-vnc
|
|
```
|
|
|
|
Then visit <http://localhost:6080> to visit noVNC UI.
|
|
Or you can use a different VNC client (like TigerVNC client)
|
|
and connect to localhost:5900.
|
|
|
|
If `VNC_PASSWD` is not set,
|
|
then the security type of vncserver is set to None,
|
|
it is **insecure** when exposing the container on the Internet.
|
|
|
|
## Exposed ports
|
|
|
|
* 5900: Used for VNC interface
|
|
* 6080: Used for noVNC Web UI
|
|
|
|
## Installed applications
|
|
|
|
To make the image lightweight,
|
|
only the following applications are installed by default:
|
|
|
|
* xfce4
|
|
* tigervnc
|
|
* noVNC
|
|
* wget
|
|
* vim
|
|
* chromium
|
|
|
|
## Build
|
|
|
|
```
|
|
docker build -t archlinux-vnc .
|
|
```
|
|
|
|
|
|
## FAQ
|
|
|
|
### Fonts
|
|
|
|
If non-latin characters are not displayed well,
|
|
install the font packs based on your needs.
|
|
|
|
To install the Indian font pack:
|
|
|
|
```
|
|
pacman -Sy fonts-indic
|
|
```
|
|
|
|
To install the CJK font pack:
|
|
|
|
```
|
|
pacman -Sy fonts-noto-cjk
|
|
```
|
|
|
|
To install the international font pack:
|
|
|
|
```
|
|
pacman -Sy fonts-noto
|
|
```
|
|
|
|
### Scaling
|
|
|
|
By default, noVNC's scaling mode is set to None.
|
|
It can be changed in the noVNC panel easily.
|
|
|
|
|
|
## License
|
|
|
|
MIT License
|