随笔分类 -  Docker

摘要:mac下载nignx https://www.cnblogs.com/meng1314-shuai/p/8335140.html 学习 https://www.bilibili.com/video/BV1F5411J7vK?p=5&share_medium=android&share_plat=an 阅读全文
posted @ 2021-04-19 12:11 凯宾斯基 阅读(118) 评论(0) 推荐(0)
摘要:ubuntu 用apt centos 用 yum linux没有ifconfig命令的安装方法 yum -y install net-tools 参考: https://zhuanlan.zhihu.com/p/129326253 一条命令就可以安装jdk: yum install java-1.8 阅读全文
posted @ 2021-04-12 11:05 凯宾斯基 阅读(151) 评论(0) 推荐(0)
摘要:运行容器:docker run -it 镜像名 /bin/bash 退出容器: exit (这个命令会把容器也关闭掉) 或者 Ctrl+P+Q (这个命令容器依旧在后台运行) 查看容器:docker ps -a 查看运行的容器:docker ps 重启容器:docker restart 容器ID 重 阅读全文
posted @ 2021-04-12 01:47 凯宾斯基 阅读(109) 评论(0) 推荐(0)
摘要:# 安装docker yum install docker # 启动docker systemctl start/status docker # 查看docker启动状态 docker version 查看镜像文件docker images 配置加速器 简介:DaoCloud 加速器 是广受欢迎的 阅读全文
posted @ 2021-03-15 00:05 凯宾斯基 阅读(81) 评论(0) 推荐(0)