Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
YiRanCN committed Apr 2, 2024
1 parent 92da985 commit fcb2f73
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/study/back/WSL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

### 用本地的ssh命令连接WSL

windows下面的cmd和ps太难用,需要用好用的ssh客户端连接wsl,根据晚上的配置,怎么都连不上,后来发现,

ip改成localhost,立即就可以了,记录一下。
13 changes: 13 additions & 0 deletions docs/study/docker/Docker的使用总结.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ docker run -tid \
--privileged=true \
--name test-ubuntu \
ubuntu
#
docker run -tid \
--privileged=true \
--name test-nginx \
nginx:stable-alpine3.17-slim
```

### 绑定随机端口
Expand All @@ -128,6 +133,14 @@ docker restart test-ubuntu
docker port test-ubuntu
```

### dcoker save/load 保存和加载镜像

对镜像的保存和加载

### docker export/import 导出和导入容器

对容器的导出和导入

### 参考

[参考 1](https://developer.aliyun.com/article/272173)
2 changes: 1 addition & 1 deletion docs/study/encryption/PKI.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### 参考

- [密钥管理与PKI](https://zhuanlan.zhihu.com/p/615409220)
- [密钥管理与PKI](https://zhuanlan.zhihu.com/p/615409220)

0 comments on commit fcb2f73

Please sign in to comment.