- 博客(5)
- 收藏
- 关注
原创 docker基础 1
docker有不变的好处容器轻量级vi /etc/sysctl.conf[root@localhost ~]# sysctl -pnet.ipv4.ip_forward = 1net.bridge.bridge-nf-call-iptables = 1net.bridge.bridge-nf-call-ip6tables = 1镜像下载地址https://hub.docker.com/命令docker search 镜像docker pull 镜像docker pull qu
2020-06-17 08:40:30 129
原创 docker的环境安装
安装需求需要 centos7.6版本镜像下载地址阿里云https://developer.aliyun.com/mirror/dwadwdocker有两个版本ee ce要借助阿里云安装step 1: 安装必要的一些系统工具sudo yum install -y yum-utils device-mapper-persistent-data lvm2Step 2: 添加软件源信息sudo yum-config-manager --add-repo https://mirrors.a
2020-06-15 16:57:54 149
原创 docker 简单初级使用命令
docker入门命令查看docker中已有镜像docker images下载镜像docker pull 镜像名删除镜像docker rmi 镜像名查看docker中的容器docker ps -a删除容器docker rm -f 容器名/容器ID创建使用容器docker run -itd --name 名字 镜像名-i 以交互式界面登录-t 打开终端-d 后台运行创建容器docker create -it --name 容器
2020-06-03 18:55:22 130
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人