宿主机安装的是KDE/Plasma
Xephyr :1 -ac -screen 1280x680 & X=/tmp/.X11-unix && docker run --rm -it -v $X:$X -e DISPLAY=:1 reechand/kunbuntu startplasma-x11
注意退出的时候,选择logout
FROM reechand/ubuntu:22.04
# 我们增加这一行防止在image构建过程中产生交互
ARG DEBIAN_FRONTEND=noninteractive
# 安装kubuntu桌面环境(循序渐进的安装)
RUN apt install -y kde-plasma-desktop
RUN apt install -y kde-standard
RUN apt install -y kubuntu-desktop
RUN https_proxy=http://192.168.1.18:7890 http_proxy=http://192.168.1.18:7890 all_proxy=socks5://127.0.0.1:7890 env apt install -y qtbase5-dev
RUN apt install -y kde-full
#! /usr/bin/bash
clear &&
docker build -t reechand/kunbuntu . &&
#clear &&
bash -c "echo -e y | docker image prune" &&
docker image ls &&
docker push reechand/kunbuntu
Content type
Image
Digest
sha256:87018c830…
Size
2.7 GB
Last updated
almost 3 years ago
docker pull reechand/kunbuntu