基本上我有一个带有 keycloak 的 docker 镜像和一个天蓝色的磁盘来保存我们在 keycloak 中所做的更改。不幸的是,机器没有起床,因为在路径 / opt / jboss 中安装天蓝色磁盘时,它会清空已经存在的内容并且无法执行 dockerfile 的入口点......有什么想法吗?我尝试使用 subPath 而没有 subPath。
volumeMounts:
- mountPath: "/opt/jboss"
subPath: "jboss"
name: keycloak-volumen-test