
compose.yml:
services: libation: image: ceramicwhite/libation:latest container_name: libation stop_grace_period: 1m restart: on-failure volumes: - './Books:/config/Books' - './data:/config/Libation'
Dockerfile:
# syntax=docker/dockerfile:1-labs ARG GIT_TAG=${GIT_TAG:-12.0.2} ARG TARGETARCH FROM lsiobase/kasmvnc:debianbookworm ARG GIT_TAG ARG TARGETARCH ENV PUID=${PUID:-1000} \ PGID=${PGID:-1000} # Step 1: Create all necessary directories RUN mkdir -p /defaults \ /config/Libation \ /config/Books \ /config/Libation/logs \ /config/Libation/tmp # Step 2: Create the autostart file RUN echo '#!/bin/bash\n\ # Find Libation executable and run it\n\ if [ -f /usr/bin/libation ]; then\n\ /usr/bin/libation\n\ elif [ -f /usr/share/libation/Libation ]; then\n\ /usr/share/libation/Libation\n\ else\n\ echo "ERROR: Cannot find Libation executable"\n\ fi' > /defaults/autostart && \ chmod +x /defaults/autostart # Step 3: Create the Openbox menu file RUN echo '<?xml version="1.0" encoding="utf-8"?>\n\ <openbox_menu xmlns="http://openbox.org/3.4/menu">\n\ <menu id="root-menu" label="MENU">\n\ <item label="xterm" icon="/usr/share/pixmaps/xterm-color_48x48.xpm"><action name="Execute"><command>/usr/bin/xterm</command></action></item>\n\ <item label="Libation" icon="/usr/share/icons/hicolor/scalable/apps/libation.svg"><action name="Execute"><command>/usr/bin/libation</command></action></item>\n\ </menu>\n\ </openbox_menu>' > /defaults/menu.xml # Step 4: Create the appsettings.json file RUN echo '{\n\ "LibationFiles": "/config/Libation"\n\ }' > /config/Libation/appsettings.json # Step 5: Create the Settings.json file RUN echo '{\n\ "Books": "/config/Books",\n\ "InProgress": "/config/Libation/tmp",\n\ "ThemeVariant": "Dark",\n\ "Serilog": {\n\ "MinimumLevel": "Information",\n\ "WriteTo": [\n\ {\n\ "Name": "ZipFile",\n\ "Args": {\n\ "path": "/config/Libation/logs/_Log.log",\n\ "rollingInterval": "Month",\n\ "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] (at {Caller}) {Message:lj}{NewLine}{Exception} {Properties:j}"\n\ }\n\ }\n\ ],\n\ "Using": [\n\ "Dinah.Core",\n\ "Serilog.Exceptions"\n\ ],\n\ "Enrich": [\n\ "WithCaller",\n\ "WithExceptionDetails"\n\ ]\n\ },\n\ "MessageBoxWindow": {\n\ "X": 532,\n\ "Y": 294,\n\ "Height": 110,\n\ "Width": 269,\n\ "IsMaximized": false\n\ },\n\ "FirstLaunch": true,\n\ "AutoScan": true,\n\ "SettingsDialog": {\n\ "X": 414,\n\ "Y": 83,\n\ "Height": 750,\n\ "Width": 900,\n\ "IsMaximized": false\n\ },\n\ "MainWindow": {\n\ "X": 43,\n\ "Y": 76,\n\ "Height": 698,\n\ "Width": 1159,\n\ "IsMaximized": true\n\ }\n\ }' > /config/Libation/Settings.json # Step 6: Install dependencies and set up libation RUN echo fs.inotify.max_user_instances=524288 | tee -a /etc/sysctl.conf && \ # Install dependencies including PyXDG for openbox-xdg-autostart apt-get update && \ apt-get install -y \ libgtk-3-0 \ python3-xdg && \ # Determine architecture for the package ARCH=$(dpkg --print-architecture) && \ echo "Building for architecture: $ARCH" && \ # Download the correct package for the architecture curl -fSL "https://github.com/rmcrackan/Libation/releases/download/v${GIT_TAG}/Libation.${GIT_TAG}-linux-chardonnay-${ARCH}.deb" -o libation.deb && \ # Install the package dpkg -i libation.deb || apt-get install -f -y && \ # Make sure libation is in PATH which libation || echo "WARNING: libation not found in PATH" && \ # Create symbolic link if needed if [ ! -f /usr/bin/libation ] && [ -f /usr/share/libation/Libation ]; then \ ln -s /usr/share/libation/Libation /usr/bin/libation; \ fi && \ # Download icon curl -fSL https://raw.githubusercontent.com/rmcrackan/Libation/master/Source/LoadByOS/LinuxConfigApp/libation_glass.svg --output /usr/share/icons/hicolor/scalable/apps/libation.svg && \ # Set permissions chown -R ${PUID}:${PGID} /config/Libation /config/Books && \ # Create symlink for Books folder ln -s /config/Books /home/kasm-user/ && \ # Clean up rm -rf /var/lib/apt/lists/* && \ rm -f libation.deb # Expose KasmVNC port EXPOSE 3000
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。



探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务