随笔分类 -  docker

摘要:1、常用命令 docker build -f dockerfile名字 -t 镜像名字:镜像版本 . 例如 docker build -f mynginx.Dockerfile -t mynginx:v202111171 . 阅读全文
posted @ 2021-11-30 10:00 南风丶轻语 阅读(2050) 评论(0) 推荐(0) 编辑
摘要:参考链接: https://www.jianshu.com/p/42d1c9fb538c 1、系统环境 LSB是Linux Standard Base的缩写,lsb_release命令用来显示LSB和特定版本的相关信息。 root@ubuntu:~$ lsb_release -a No LSB mo 阅读全文
posted @ 2021-01-26 11:07 南风丶轻语 阅读(1758) 评论(0) 推荐(0) 编辑
摘要:制作一个基于ubuntu的docker,带有nginx和监控流量插件(nginx-module-vts) 1、下载ubuntu16.04模板压缩包 链接:https://download.openvz.org/template/precreated/ 文件名:ubuntu-16.04-x86_64. 阅读全文
posted @ 2021-01-07 17:12 南风丶轻语 阅读(2083) 评论(0) 推荐(0) 编辑
摘要:1、下载一个原始的模板压缩包 链接:https://download.openvz.org/template/precreated/ 文件名:ubuntu-16.04-x86_64.tar.gz 2、导入模板压缩包为镜像 docker import -m 'test docker for http, 阅读全文
posted @ 2021-01-05 09:44 南风丶轻语 阅读(607) 评论(0) 推荐(0) 编辑

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