xpod

A minimal container build of X11 with VNC support.
git clone https://unitehenry.com/git/xpod.git
Log | Files | Refs | README

README.md (1090B)


      1 # XPod
      2 
      3 A minimal container build of X11 with VNC support.
      4 
      5 ## Build
      6 
      7 This project uses `podman` to build container images, but the `Containerfile` is interoperable with Docker as well. If you have `podman`, the following build scripts are available to use.
      8 
      9 ```bash
     10 scripts/build
     11 ```
     12 
     13 This `build` script will build the xpod base image and apps (currently only chromium). The `xpod-base` image is a minimal setup of X11, the VNC server, and a X Virtual Framebuffer.
     14 
     15 ### App Support
     16 
     17 If you'd like to run another app on top of the `xpod-base` image, the only requirement is that you mount a `/app.sh` to the root of the image.
     18 
     19 ```Dockerfile
     20 COPY app.sh /app.sh
     21 RUN chmod +x /app.sh
     22 ```
     23 
     24 ## Environment Variables
     25 
     26 |Variable|Default|Description|
     27 |:-:|:-:|:-:|
     28 |`VNC_PASSWORD`|`vncpass`|Password to use for connecting via VNC|
     29 
     30 
     31 ## Chromium Profiles
     32 
     33 The `xpod-chromium` image accepts an optional volume mount for porting chromium profiles after use.
     34 
     35 ```bash
     36 podman run -v ./chromium-lib:/var/lib/chromium xpod-chromium
     37 ```
     38 
     39 ## Additional Resources
     40 
     41 - [neko](https://github.com/m1k1o/neko)