avatar
文章
12
标签
1
分类
0

桔子小鱼の小破站

docker技巧

发表于2024-06-10|更新于2024-06-18
|阅读量:

运行中的docker容器获取docker run

https://stackoverflow.com/questions/32758793/how-to-show-the-run-command-of-a-docker-container

docker 配置代理

https://www.lfhacks.com/tech/pull-docker-images-behind-proxy/

vim "/etc/systemd/system/docker.service.d/http-proxy.conf"

1
2
3
4
5
6
7
# 注释状态
#[Service]
#Environment="http_proxy=socks5://127.0.0.1:10808"
#Environment="https_proxy=socks5://127.0.0.1:10808"
#Environment="ftp_proxy=socks5://127.0.0.1:10808"
#Environment="no_proxy="172.16.x.x"

文章作者: sstutu
文章链接: https://blog.sstutu.net/2024/06/09/docker%E6%8A%80%E5%B7%A7/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 桔子小鱼の小破站!
上一篇
git: does not have a commit checked out
下一篇
浏览器ERR_UNSAFE_PORT
avatar
sstutu
桔子和小鱼..hi
文章
12
标签
1
分类
0
Follow Me
公告
This is my Blog
目录
  1. 1. 运行中的docker容器获取docker run
  2. 2. docker 配置代理
最新文章
git: does not have a commit checked out2024-06-12
docker技巧2024-06-10
浏览器ERR_UNSAFE_PORT2024-05-27
linux用户设置默认shell2024-05-19
mysql的coalesce函数2024-05-09
©2020 - 2024 By sstutu
框架 Hexo|主题 Butterfly