2025年10月15日

4-axios拦截器

摘要: import axios from "axios"; import { ElNotification } from "element-plus"; import { useCookies } from '@vueuse/integrations/useCookies' const server = 阅读全文

posted @ 2025-10-15 16:52 shisanjun 阅读(8) 评论(0) 推荐(0)

2025年10月14日

全屏

摘要: <el-row class="bg-indigo-500 min-h-screen"> <el-col :span="16" class="flex items-center justify-center"> <div class="flex-col"> <div class="text-5xl f 阅读全文

posted @ 2025-10-14 15:28 shisanjun 阅读(6) 评论(0) 推荐(0)

2024年9月3日

vue使用echart示例

摘要: <template> <el-card shadow="never"> <template #header> <div class="flex justify-between"> <span class="text-sm">订单统计</span> <div> <el-check-tag :check 阅读全文

posted @ 2024-09-03 13:52 shisanjun 阅读(40) 评论(0) 推荐(0)

2023年6月9日

安装

摘要: 一)创建项目 npm init vite@latest shop2 -- --template vue 二)vsocode插件 volar Vue 3 Snippets WindiCSS IntelliSense 三) 插件 1)elementplus https://cn.element-plus 阅读全文

posted @ 2023-06-09 15:13 shisanjun 阅读(29) 评论(0) 推荐(0)

2022年5月24日

7-docker容器控制内存

摘要: Docker 提供参数-m, --memory=""限制容器的内存使用量 例 1:允许容器使用的内存上限为 128M: docker run -it -m 128m centos 查看 cat /sys/fs/cgroup/memory/memory.limit_in_bytes 也可以使用 tre 阅读全文

posted @ 2022-05-24 20:51 shisanjun 阅读(112) 评论(0) 推荐(0)

6-docker容器控制cpu

摘要: 1)指定 docker 容器可以使用的 cpu 份额 查看配置份额的帮助命令 docker run --help | grep cpu-shares cpu 配额参数:-c, --cpu-shares CPU shares (relative weight) 在创建容器时指定容器所使用的 CPU 份 阅读全文

posted @ 2022-05-24 20:35 shisanjun 阅读(1101) 评论(0) 推荐(1)

5-docker容器的数据管理

摘要: 1 )Docker 容器的数据卷 什么是数据卷? 数据卷是经过特殊设计的目录,可以绕过联合文件系统(UFS),为一个或者多个容器提供访问,数据卷 设计的目的,在于数据的永久存储,它完全独立于容器的生存周期,因此,docker 不会在容器删除时删 除其挂载的数据卷,也不会存在类似的垃圾收集机制,对容器 阅读全文

posted @ 2022-05-24 16:48 shisanjun 阅读(41) 评论(0) 推荐(0)

2022年5月18日

4-dockerfile语法

摘要: Dockerfile 是一个用来构建镜像的文本文件,文本内容包含了一条条构建镜像所需的指令和说明。 基于 Dockerfile 构建镜像可以使用 docker build 命令。docker build 命令中使用-f 可以指定具体的。 FROM centos MAINTAINER xianchao 阅读全文

posted @ 2022-05-18 14:52 shisanjun 阅读(74) 评论(0) 推荐(0)

3-docker基本用法

摘要: 1) docker镜像相关操作 #从 dockerhub 查找镜像 docker search centos NAME DESCRIPTION STARS OFFICIAL AUTOMATED centos The official build of CentOS. 6639 [OK] 解释说明: 阅读全文

posted @ 2022-05-18 11:01 shisanjun 阅读(27) 评论(0) 推荐(0)

2022年5月15日

2-docker安装

摘要: 1)安装基础软件包 yum install -y wget net-tools nfs-utils lrzsz gcc gcc-c++ make cmake libxml2-devel openssl-devel curl curl-devel unzip sudo ntp libaio-devel 阅读全文

posted @ 2022-05-15 10:56 shisanjun 阅读(39) 评论(0) 推荐(0)

导航