随笔分类 - docker
摘要:1、常用命令 docker build -f dockerfile名字 -t 镜像名字:镜像版本 . 例如 docker build -f mynginx.Dockerfile -t mynginx:v202111171 .
阅读全文
摘要:参考链接: https://www.jianshu.com/p/42d1c9fb538c 1、系统环境 LSB是Linux Standard Base的缩写,lsb_release命令用来显示LSB和特定版本的相关信息。 root@ubuntu:~$ lsb_release -a No LSB mo
阅读全文
摘要:制作一个基于ubuntu的docker,带有nginx和监控流量插件(nginx-module-vts) 1、下载ubuntu16.04模板压缩包 链接:https://download.openvz.org/template/precreated/ 文件名:ubuntu-16.04-x86_64.
阅读全文
摘要:1、下载一个原始的模板压缩包 链接:https://download.openvz.org/template/precreated/ 文件名:ubuntu-16.04-x86_64.tar.gz 2、导入模板压缩包为镜像 docker import -m 'test docker for http,
阅读全文