[root@server-crm /]# docker attach songheng
[root@fc0a891e1861 /]# cat /bin/auto_service.sh
#!/bin/sh
/sbin/service sshd start   #启动服务
/bin/bash             #保留一个终端,防止容器自动退出

 

相关文章:

  • 2021-10-05
  • 2022-12-23
  • 2022-01-05
  • 2021-12-18
猜你喜欢
  • 2022-12-23
  • 2021-05-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案