在Docker中沒有yum,沒有wegt怎么安裝軟件?


在Docker中安裝mysql 數據庫后 想要ssh到輸入庫,但是沒有yum命令 沒有wegt命令無法安裝ssh,可以嘗試以下方法:
apt-get update 更新庫
apt-get install net-tools
apt-get install vim
apt-get install openssh-server
apt-get install openssl

Missing privilege separation directory: /run/sshd 出現這種情況創建文件夾
/usr/sbin# mkdir /run/sshd
/usr/sbin# /usr/sbin/sshd


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM