摘要:
docker commit <container_id> <container_image_name> 阅读全文
posted @ 2019-06-12 15:49
Jello
阅读(866)
评论(0)
推荐(0)
摘要:
1. 通过docker ps命令先找到容器id,示例如下,123456789012就是我们要找的 jello@~$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 123456789012 jello "/bin/bas 阅读全文
posted @ 2019-06-12 15:21
Jello
阅读(648)
评论(0)
推荐(0)
摘要:
1. 先找出ip对应的域名 dig +short -x <your ip> 2. 如果第1步没有输出,那么需要将hostname与ip绑定,如:hostname为jello,那么是往/etc/hosts中写入一下内容 <ip> jello 阅读全文
posted @ 2019-06-12 13:06
Jello
阅读(900)
评论(0)
推荐(0)
摘要:
答: 通过在/etc/hosts中添加条目,如下: <ip_address> <domain_name> 如: 11.11.11.11 www.baidu.com 阅读全文
posted @ 2019-06-12 12:26
Jello
阅读(6945)
评论(0)
推荐(0)
摘要:
关键是配置smtpserver,请参考此处 阅读全文
posted @ 2019-06-12 12:23
Jello
阅读(699)
评论(0)
推荐(0)
摘要:
答: 参考此处 阅读全文
posted @ 2019-06-12 12:16
Jello
阅读(983)
评论(0)
推荐(0)
摘要:
答: 配置~/.gitconfig中的smtpserver 需往~/.gitconfig中添加如下内容: [sendemail] smtpserver = <stmp_server_name> 阅读全文
posted @ 2019-06-12 12:15
Jello
阅读(2408)
评论(0)
推荐(0)
摘要:
答: git send-email <patch-name> --to <username>@<example>.com --cc <username>@<example>.com 示例如下: $git format-patch --cover-letter -M origin/master -o 阅读全文
posted @ 2019-06-12 10:26
Jello
阅读(1087)
评论(0)
推荐(0)
摘要:
答: sudo apt-get install git-email -y 阅读全文
posted @ 2019-06-12 10:22
Jello
阅读(420)
评论(0)
推荐(0)