X-osadminの自留地
  • 博客主页 HomePage
  • 技术小絮 Tech
  • 作品发布 Works
  • 软件专题 Softs
    • proxmox
    • openwrt
    • chromebook
    • Zerotier
    • 虚拟化
  • 友情链接 Following

xosadmin

BGPlayer / Codes learner / Love Linux
Posts
75
Comments
0

友情链接 – Friendly Links

  • Add your site here…
xosadmin
4 years ago

Docker更换默认IP的方法

如题,最近在尝试使用docker部署一系列应用。由于默认的docker IP与上级某个网段相冲突,于是决定要修改默认网段。

修改非常简单,只需建立/etc/docker/daemon.json文件,并填入以下内容后重启docker即可:

{
“default-address-pools”:  [{“base”:”<你想要的网段>/16″,”size”:24}]
}

Enjoy~

 

Ref: https://serverfault.com/questions/916941/configuring-docker-to-not-use-the-172-17-0-0-range

  • 技术小絮
等 人表示很赞
1,281
0

📮Comments

No Comment.
xosadmin
xosadmin
2 years ago
推荐 Fail2ban无法启动的解决方法
在启动fail2ban时,有时会发生错误,具体错误如下: ERROR Failed during configuration: Have not found any log file for sshd jail ERROR Async co ...
  • 技术小絮
408 0
xosadmin
xosadmin
6 years ago
推荐 OS X Mojave驱动HD4600方法
近日有越来越多的小伙伴通过他们的普通电脑吃上了苹果系统,但是困扰大家的一大问题就是驱动显卡。博主最近采用了Intel i5-4570t(联想M73 tiny小主机)安装上了Mac OS X 10.14.6(感谢 @黑果小兵 的镜像),并且 ...
  • 技术小絮
3,994 0
xosadmin
xosadmin
4 years ago
推荐 超微(SuperMicro) IPMI的java IKVM提示”javax.net.ssl.SSLHandshakeException”的解决方法
超微(Supermicro)是一个在服务器领域耳熟能详的品牌,旗下的IPMI系统受到广泛的欢迎。在部分X10/A2系列以上的主板,执行运行Java IKVM时,会报出javax.net.ssl.SSLHandshakeException的错 ...
  • 技术小絮
1,166 0
xosadmin
xosadmin
5 years ago
推荐 apache提示You don’t have permission to access /* on this server.的解决方法
首先,X-osadmin在这里祝大家520快乐!近日有朋友遇到了这样一个问题:在CentOS 8下安装php-fpm+apache,在浏览器打开时均提示You don’t have permission to access / ...
  • 技术小絮
3,816 0
xosadmin
xosadmin
5 years ago
推荐 Debian提示Malformed Description-md5的解决方法
近日,有一台vps在执行apt update时,报出以下错误,并返回错误值100。错误代码如下: E: Malformed Description-md5 line; doesn’t have the required leng ...
  • 技术小絮
1,636 0
  • Windows FTP服务器通过PASV模式无法获取目录的解决方法
  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法
  • LXC上安装Gitlab时sysctl报错的解决方法
  • Proxmox VE通过全盘方式直通硬盘
  • Proxmox为KVM VNC启用剪贴板支持

文章聚合

  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法
  • Proxmox VE通过全盘方式直通硬盘
  • Proxmox为KVM VNC启用剪贴板支持
  • Proxmox报出RRDC/RRD update error的解决方法
  • 在Debian 12上安装Proxmox VE的方法

Multilangual Translator

Copyright © 2016-2025 X-osadminの自留地. All rights reserved. Designed by nicetheme.
  • 博客主页 HomePage
  • 技术小絮 Tech
  • 作品发布 Works
  • 软件专题 Softs
    • proxmox
    • openwrt
    • chromebook
    • Zerotier
    • 虚拟化
  • 友情链接 Following
Welcome
Forgot password?
Welcome
Forgot password?
Social Login
Login with WeChat QR Code
Unregistered WeChat IDs will be automatically used to create an account.
Scan and Reply with Keywords「登录」Get Verification Code
Social Login
Free registration
Social Login
Reset password
Back to Login