将内网的IP地址映射到外网的几种方案

分类: 365bet开户官网 发布时间: 2025-08-27 11:54:12
作者: admin 阅读: 6618 | 点赞: 498
将内网的IP地址映射到外网的几种方案

_养乐多_:

registry.cn-hangzhou.aliyuncs.com/google_containers/pause 3.5 ed210e3e4a5b 4 years ago 683kB

zy22@zy22-Precision-3680:~$ docker run -p 11434:11434 ollama/ollama

docker: Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint kind_shamir (2128ca539caa7f51c411094267f48279f242d028f7881a70ad826e8deb051040): Unable to enable DNAT rule: (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 11434 -j DNAT --to-destination 172.17.0.3:11434 ! -i docker0: iptables: No chain/target/match by that name.

(exit status 1))

Run 'docker run --help' for more information

zy22@zy22-Precision-3680:~$