Featured image of post oracle甲骨文安装docker

oracle甲骨文安装docker

oracle甲骨文安装docker 11

yum install -y dnf-utils zip unzip
 yum config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
 yum install -y docker-ce
systemctl start docker && systemctl enable docker

安装docker-compose

yum install docker-compose-plugin

停止并禁用开机启动

systemctl stop firewalld
systemctl disable firewalld
systemctl status firewalld 或者 firewall-cmd --state

开启root登录

vim /etc/ssh/sshd_config

找到passwordAuthentication项,修改成yes

重启ssh

service sshd restart

密码设置:sudo passwd user-name

Licensed under CC BY-NC-SA 4.0
Built with Hugo
主题 StackJimmy 设计