From ed1ebd134396cac130b49480d893928387056245 Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Mon, 25 Aug 2025 10:53:05 -0400 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3=E7=BB=93?= =?UTF-8?q?=E6=9E=84=E5=92=8C=E6=B7=BB=E5=8A=A0=E7=BE=8E=E4=B8=9C=E6=B8=B8?= =?UTF-8?q?=E8=AE=B0=E5=86=85=E5=AE=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vitepress/config.mts | 11 ++++++++++- _sidebar.md | 1 + docs/article/{_index.md => index.md} | 0 docs/article/journey/2025/northeast-travel.md | 10 ++++++++++ docs/article/journey/_sidebar.md | 6 ------ docs/article/journey/{_index.md => index.md} | 1 + docs/dev-ops/container/docker.md | 16 ++++++++++++++++ docs/index.md | 2 +- 8 files changed, 39 insertions(+), 8 deletions(-) rename docs/article/{_index.md => index.md} (100%) create mode 100644 docs/article/journey/2025/northeast-travel.md delete mode 100644 docs/article/journey/_sidebar.md rename docs/article/journey/{_index.md => index.md} (77%) create mode 100644 docs/dev-ops/container/docker.md diff --git a/.vitepress/config.mts b/.vitepress/config.mts index d606f2f..34a26fb 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -89,7 +89,8 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= {text: 'PostgreSQL', link: '/dev-ops/database/postgresql.md'}, {text: 'MariaDB/MySQL', link: '/dev-ops/database/mariadb.md'}, ] - } + }, + {text: 'Docker', link: '/dev-ops/container/docker.md'}, ] }, @@ -102,6 +103,14 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= {text: '职场', link: '/work/workplace/'} ] + }, + { + text: '短文', + collapsed: true, + link: '/article/', + items: [ + {text: '星途漫记', link: '/article/journey/'} + ] } ], diff --git a/_sidebar.md b/_sidebar.md index 7d018e7..ad10fc2 100644 --- a/_sidebar.md +++ b/_sidebar.md @@ -30,6 +30,7 @@ - [OS](devops/_index.md) - [linux](devops/os/linux.md) - [数据库](devops/database/_index.md) + - [Docker](devops/database/_index.md) - 职场和面试 - [面试](work/interview/_index.md) - [职场](work/workplace/_index.md) diff --git a/docs/article/_index.md b/docs/article/index.md similarity index 100% rename from docs/article/_index.md rename to docs/article/index.md diff --git a/docs/article/journey/2025/northeast-travel.md b/docs/article/journey/2025/northeast-travel.md new file mode 100644 index 0000000..5f20782 --- /dev/null +++ b/docs/article/journey/2025/northeast-travel.md @@ -0,0 +1,10 @@ +# 东北美国加拿大周游记 + +因内容都比较分散,故特把这 6 的行程做成了一个内容列表,具体的内容和图片请点击下面列表中的文章。 + +## Day 1 +* [阿卡迪亚森林公园第一天就睡帐篷](https://www.isharkfly.com/t/topic/17664?u=honeymoose) + +## 杂项和感悟 +* [一趟 1800 英里左右的行程终于回到了屯里](https://www.isharkfly.com/t/topic/17663?u=honeymoose) +* [水牛城就这么入境了](https://www.isharkfly.com/t/topic/17660?u=honeymoose) \ No newline at end of file diff --git a/docs/article/journey/_sidebar.md b/docs/article/journey/_sidebar.md deleted file mode 100644 index b620ca9..0000000 --- a/docs/article/journey/_sidebar.md +++ /dev/null @@ -1,6 +0,0 @@ -- 2025 - - [温哥华(YVR)联程中转美国](/article/journey/2025/yvr-to-us.md) - - [麓山行](/article/journey/2025/trip-to-lushan.md) -- 2024 - - [探索新罕布什尔州宜居小城基恩](/article/journey/2024/trip-to-keene.md) - - [我眼中的美国大选 2024](/article/journey/2024/my-eyes-on-the-us-election-2024.md) \ No newline at end of file diff --git a/docs/article/journey/_index.md b/docs/article/journey/index.md similarity index 77% rename from docs/article/journey/_index.md rename to docs/article/journey/index.md index 1297b96..3f4f461 100644 --- a/docs/article/journey/_index.md +++ b/docs/article/journey/index.md @@ -1,6 +1,7 @@ # 漫记 ### 2025 +- [东北美国加拿大周游记](/article/journey/2025/northeast-travel.md) - [忆罗德康伯伯](/article/journey/2025/luodekan.md) - [温哥华(YVR)联程中转美国](/article/journey/2025/yvr-to-us.md) - [麓山行](/article/journey/2025/trip-to-lushan.md) diff --git a/docs/dev-ops/container/docker.md b/docs/dev-ops/container/docker.md new file mode 100644 index 0000000..b21f8ac --- /dev/null +++ b/docs/dev-ops/container/docker.md @@ -0,0 +1,16 @@ +# Docker +iSharkFly Docker 文档和手册,使用 docsify 来对 MD 文件进行编译和修改。 + +## Docker 是什么 + +Docker 是一个开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移植的容器中,然后发布到任何流行的 Linux +机器上,也可以实现虚拟化。容器是完全使用沙箱机制,相互之间不会有任何接口。 + +### Docker的组成 +一个完整的Docker有以下几个部分组成: +* docker Client客户端 +* Docker Daemon守护进程 +* Docker Image镜像 +* Docker Container容器 + +我们通过客户端写命令,然后客户端将命令发送给守护进程,守护进程再将命令执行的结果返回给客户端,这就使我们能通过命令查看执行结果,镜像就是容器的源代码,容器通过镜像启动,使用仓库来保存用户构建的镜像,仓库分为共有和私有。 \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index de14313..64ddfa8 100644 --- a/docs/index.md +++ b/docs/index.md @@ -30,7 +30,7 @@ hero: link: /work - theme: alt text: 短文 - link: /product + link: /article features: - title: iSharkFly 文档项目