Skip to content

Commit

Permalink
refactor: remove outdated Docker management section from 8x4090 docum…
Browse files Browse the repository at this point in the history
…entation
  • Loading branch information
tiankaima committed Jan 15, 2025
1 parent 81bfc01 commit f7ed07e
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions docs/lab/srv/8x4090.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,6 @@

![切换 Prometheus 数据源](./img/1.png){width=400}

## Docker 管理

出于安全性、稳定性的考虑,在这台机器上我们延续 8xa6000(可能更早?)的原则,只对实验室同学开放 Docker 容器,而不提供宿主机的访问权限。

在 Coder 多设备部署方案成熟之前,使用了一个脚本进行过渡 -> [docker-management.sh](https://gist.github.com/tiankaima/370bc613ab32980175548afe9bcaa481)

使用方法:

```bash
ssh docker-management@8x4090.srv.lab.tiankaima.cn
```

!!! warning

+ 这只是一个过渡方案,不是最终解决方案,也无意成为 Coder 等方案的替代品。
+ 访问密码请私聊管理员。
+ 在 ssh 脚本创建容器后,脚本会打开这个容器的 shell 以供访问。
+ 脚本会提示连接容器的其他方法(校园网 IP 的端口映射、容器的内网地址等),后续访问无需再次通过此脚本。
+ 进入容器后请更改密码,容器内默认用户名、密码是 -> <https://github.com/tiankaima/Dockerfile/blob/master/cuda/Dockerfile#L27>

## 网络说明

+ 使用如下命令设置代理:
Expand Down

0 comments on commit f7ed07e

Please sign in to comment.