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
5 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,333
0

📮Comments

No Comment.
xosadmin
xosadmin
1 year ago
推荐 Proxmox日志出现大量lxcfs truncated错误的解决方案
在部分Proxmox版本中运行LXC虚拟机,可能会遇到以下情况:日志中出现大量Internal error: truncated write to cache,并且实时在滚动更新。 经过搜索和研究,可以通过以下方式进行修复: 编辑/lib ...
  • proxmox
  • 技术小絮
662 0
xosadmin
xosadmin
6 years ago
推荐 树莓派安装ffmpeg
近日想尝试传输自己的流式媒体。目前测试了Hyper-V虚拟机,效果并不理想。原因是Hyper-V太吃资源。后来,测试在Hyper-V虚拟机下安装Linux系统进行推流,由于是yum安装的ffmpeg,年代有点过于久远,并且编译安装比较慢。 ...
  • 技术小絮
2,916 0
xosadmin
xosadmin
6 years ago
推荐 wget下载某目录下全部文件的方法
前一段时间介绍了Proxmox的安装方式。Proxmox虽然方便,但是在多服务器的环境下没法像SolusVM那样同步KVM ISO镜像,非常不方便。所以X-osadmin将ISO放在一台服务器上,通过wget下载镜像,方便了许多。Wget向 ...
  • 技术小絮
1,411 0
xosadmin
xosadmin
2 years ago
推荐 Alpine Linux开启bbr加速的方法
请注意:以下所有操作需要在root下进行。若在非root用户下执行,请重新以root用户登录或者使用sudo su后执行。 1.开启开机自动加载tcp_bbr模块 echo “tcp_bbr” >> /e ...
  • 技术小絮
949 0
xosadmin
xosadmin
2 years ago
推荐 Debian设置802.1q vlan的方法
802.1Q VLAN是一种非常常见的VLAN技术,Debian也支持本VLAN技术。本文将以Debian 12 x64作为演示。 首先,在操作系统下安装vlan程序包 apt-get install vlan -y 2. 将802.1 ...
  • 技术小絮
742 0
  • PVE Cluster给node更换corosync IP的方法
  • HPE Microserver系列降低噪音的一种办法
  • Debian 13 Trixie安装Proxmox VE
  • Windows FTP服务器通过PASV模式无法获取目录的解决方法
  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法

文章聚合

  • PVE Cluster给node更换corosync IP的方法
  • Debian 13 Trixie安装Proxmox VE
  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法
  • Proxmox VE通过全盘方式直通硬盘
  • Proxmox为KVM VNC启用剪贴板支持

Multilangual Translator

Copyright © 2016-2026 X-osadminの自留地. All rights reserved. 萌ICP备20258855号
  • 博客主页 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