docker镜像加速方法¶
在使用docker时,找到的有效加速方法:
docker pull dockerpull.org/openmmlab/lmdeploy:latest-cu12
原文: https://blog.csdn.net/x1131230123/article/details/143502374
docker –cap-add=SYS_PTRACE¶
Text Only | |
---|---|
To enable runtime observation, SYS_PTRACE Linux kernel capability must be added.
https://man7.org/linux/man-pages/man7/capabilities.7.html
CAP_SYS_PTRACE • Trace arbitrary processes using ptrace(2); • apply get_robust_list(2) to arbitrary processes; • transfer data to or from the memory of arbitrary processes using process_vm_readv(2) and process_vm_writev(2); • inspect processes using kcmp(2).
在Docker中,--cap-add=SYS_PTRACE
是一个用于增加容器的能力(capability)选项。SYS_PTRACE
是Linux系统中的一种能力,它允许进程使用ptrace
系统调用来跟踪和控制其他进程。
git 如何修改commit的author¶
Text Only | |
---|---|
1 2 3 |
|
After doing this, you may fix the identity used for this commit with:
Text Only | |
---|---|
1 |
|