网站首页
编程语言
数据库
系统相关
其他分享
编程问答
09.1
2024-06-07
09.1手工制作docker镜像-多服务ssh+nginx
手工制作docker镜像-多服务ssh+nginx一个容器多个服务基于centos6.9系统添加yum源与epel源安装nginx、ssh服务yuminstallnginxopenssh-server-y因镜像系统为纯系统,没有root密码,所以需要配置密码echo123456|passwd--stdinroot注:因配置yum源存在坑,详见cento