标签: Docker

7 篇文章

docker系列之zabbix 7.0.3 postgres版
docker-compose.yaml services: zabbix-pgsql: image: postgres:16.4 container_name: zabbix-pgsql network_mode: host restart: always environment: TZ: Asia/Shanghai POSTGRES_USER: …
docker系列之postgres-timescale 快速启动
docker-compose.yaml services: timescale: image: timescale/timescaledb-ha:pg16 network_mode: host container_name: timescaledb restart: unless-stopped privileged: true deploy: r…
thumbnail
免费给VPS添加一个IPV6公网地址
前提概要 之前写了一篇文章 借助HE+Zerotier 0成本让你所有不带IPV6的机器拥有一个公网地址 为技术项的帖子 现在的这一篇就是直接白嫖教程 FQA 为什么免费 因为这是借助了HE免费的隧道实现的 单纯就是闲的蛋疼,想玩 IPV6有什么用 可以连接仅ipv6的机器 可以通过获取到的ipv6连接到自己服务器 无公网ip的机器可以设置上,cf…
thumbnail
Docker 默认拒绝放行iptables
vim /etc/default/docker #修改文件,此处设置等同于在创建容器时手动指定iptables=false参数 DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4 --iptables=false" vim /etc/docker/daemon.json { "iptabl…
thumbnail
Docker 启用IPV6
/etc/docker/daemon.json { "ipv6": true, "fixed-cidr-v6": "fd00::/80", "experimental": true, "ip6tables": true }
thumbnail
Docker Compose 一键安装
Docker Compose 是 Docker 公司提供的一个工具,用于定义和管理多个 Docker 容器的配置。它允许您通过一个简单的 YAML 文件来定义应用程序的服务、网络、数据卷等配置,然后可以使用一个命令来启动、停止、重启、销毁整个应用程序的容器组。 ...
thumbnail
Docker 开启内网IPV6、公网IPV6
sysctl设置IPV6的选项 net.ipv6.conf.all.forwarding = 1 net.ipv6.conf.default.forwarding = 1 net.ipv6.conf.eth0.accept_ra = 2 一键写入sysctl并且生效 cat >> /etc/sysctl.conf << EO…