# 下载.bashrc_docker并编辑.bashrc引用并重载.bashrc
wget -P ~ https://raw.githubusercontent.com/GivenCui/auto_scripts/master/.bashrc_docker && echo "[ -f ~/.bashrc_docker ] && . ~/.bashrc_docker" >> ~/.bashrc; source ~/.bashrc
# 使用举例
docker-pid <container>
docker-enter <container> # 用nsenter进入容器
docker-enter <container> ls # 用nsenter进入容器并运行ls
-
Notifications
You must be signed in to change notification settings - Fork 0
GivenCui/auto_scripts
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
常用脚本, 提升效率的脚本积累
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published