mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[GH-ISSUE #1107] [Feature] 容器部署,容器内不支持常用命令,如ssh,apt等 #747
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#747
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mbC6zC on GitHub (Dec 16, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/1107
Description / 功能描述
[2025-12-16 18:51:08]
could not deploy certificate
[2025-12-16 18:51:08]
failed to execute post-command (stdout: , stderr: sh: ssh: not found ): failed to execute command: exit status 127
Motivation / 请求动机
新增特性,满足跨主机远程部署需求。
Miscellaneous / 其他
No response
Contribution / 贡献代码
@fudiwei commented on GitHub (Dec 16, 2025):
alpine 基座本来就是什么都不带,需要你自行安装。
另外 alpine 的包管理器是 apk 而不是 apt。
@mbC6zC commented on GitHub (Dec 16, 2025):
升级会有比较大的问题。部署脚本里面举的例子就是用ssh,实际编写好的脚本用不起来啊。
@mbC6zC commented on GitHub (Dec 16, 2025):
用容器生成证书,一般不是在当前容器内使用。hostpath可以实现把证书放到外部环境,就差最后执行重启命令,易用性打折扣了。
@fudiwei commented on GitHub (Dec 16, 2025):
在前置命令里安装所需的包,参考 https://github.com/certimate-go/certimate/issues/616
@mbC6zC commented on GitHub (Dec 16, 2025):
好吧,花活挺多的~