xclock
压缩成zip格式**zip -q -r renwolesshel.zip renwolesshel/**
解压zip格式的压缩包**unzip renwolesshel.zip**
Nginx:Alpine 安装**docker run -d --name nginx -p 80:80 -p 443:443 -v /root/ssl/:/ssl:ro nginx:alpine**
docker 进入nginx:alpine 容器
如要进入alpine容器,命令是(后面的路径不是/bin/bash):
- $ docker exec -it 容器id /bin/sh
复制文件
1.安装docker
curl -fsSL get.docker.com -o get-docker.sh
sudo sh get-docker.sh —mirror Aliyun
2.启动docker
sudo systemctl enable docker
sudo systemctl start docker
3.安装docker-compose
curl -L https://github.com/docker/compose/releases/download/1.8.0/run.sh > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose