随笔分类 -  docker

摘要:1.上传到镜像压缩mysql.tar到服务器 2.加载镜像 [root@xiaobing xiaobing]# docker load -i mysql.tar [root@xiaobing xiaobing]# docker images REPOSITORY TAG IMAGE ID CREAT 阅读全文
posted @ 2024-01-02 16:47 o小兵o 阅读(113) 评论(0) 推荐(0) 编辑
摘要:1.数据卷(volume)是一个虚拟目录,指向宿主机文件系统中的某个目录 [root@VM-8-2-centos xiaobing]# docker volume --help Usage: docker volume COMMAND Manage volumes Commands: create 阅读全文
posted @ 2024-01-02 15:46 o小兵o 阅读(24) 评论(0) 推荐(0) 编辑
摘要:1.拉取镜像 docker pull nginx 2.查看镜像 docker images [root@VM-8-2-centos ~]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE nginx latest 605c77e624dd 24 阅读全文
posted @ 2023-12-20 15:10 o小兵o 阅读(83) 评论(0) 推荐(0) 编辑
摘要:1.在Linux中,可以通过以下命令查看系统版本: cat /etc/os-release 2.在Linux中,可以通过以下命令查看版本(CentOS 要求内核版本不低于 3.10): uname -aLinux VM-8-2-centos 3.10.0-1160.99.1.el7.x86_64 3 阅读全文
posted @ 2023-12-18 11:40 o小兵o 阅读(180) 评论(0) 推荐(0) 编辑
摘要:1、安装环境 此处在Centos7进行安装,可以使用以下命令查看CentOS版本 lsb_release -a 在 CentOS 7安装docker要求系统为64位、系统内核版本为 3.10 以上,可以使用以下命令查看 uname -r 2、用yum源安装 2.1 查看是否已安装docker列表 y 阅读全文
posted @ 2020-10-26 10:02 o小兵o 阅读(579) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示