我们如何将 Proton-Native 应用程序 docker 化并查看 GUI?

How we could dockerizing a Proton-Native App and see the GUI?

我正在尝试 docker 化 Proton-Native 应用程序,我看不到基本项目

这是我的 Dockerfile

FROM node:13

WORKDIR /app
ENV PATH /app/node_modules/.bin:$PATH

RUN npm install
COPY . ./

RUN npx proton-native-cli init .

CMD ["npm", "start"]

那我运行

docker build -t sample:dev .

docker run sample:dev

假设可以查看 GUI,而不仅仅是访问 docker 图像。完成配置的正确方法是什么?

感谢阅读! :)

这个想法,dockerizing 质子本机应用程序以查看 gui,不是一项简单的任务,需要 "a lot of extra work to get the display to show up at all (including installing extra host software on non-Linux hosts) and even more work to get access to user preferences and data files",就像@DavidMaze 解释的那样