Instantbox开源项目-----快速常见一个纯净的Linux系统
一、安装docker
#下载docker-ce的yum源 wget https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/docker-ce.repo mv docker-ce.repo /etc/yum.repos.d/ #安装docker-ce yum -y install docker-ce #启动docker并配置镜像加速 systemctl restart docker [root@fengling ~]# sudo tee /etc/docker/daemon.json <<-'EOF' { "registry-mirrors": ["https://rxspsdcu.mirror.aliyuncs.com"] } EOF systemctl daemon-reload systemctl restart docker
二、安装instantbox
mkdir instantbox cd instantbox/ bash <(curl -sSL https://raw.githubusercontent.com/instantbox/instantbox/master/init.sh) Welcome to instantbox, please wait... docker is installed Enter your IP (optional): #输入IP地址 192.168.200.111 Choose a port (default: 8888): #这里直接使用默认端口 You're all set! Run 'docker-compose up -d' then go to http://192.168.200.111:8888 on your browser. #启动instantbox docker-compose up -d
三、创建一个系统