docker-dns-lookup-example:关于使用DNS作为服务发现机制(+ DockerConsul)的文章

时间:2021-05-22 10:34:37
【文件属性】:
文件名称:docker-dns-lookup-example:关于使用DNS作为服务发现机制(+ DockerConsul)的文章
文件大小:189KB
文件格式:ZIP
更新时间:2021-05-22 10:34:37
Shell 使用DNS搜索域查找服务 DNS解析工具具有从更特定的域查找到较不特定的域的功能。 在Mac上运行示例 您需要boot2docker eval " $( boot2docker shellinit ) " tar cf - bind | boot2docker ssh sudo tar xf - boot2docker ssh ' cat > production.index.html ' < production> staging.index.html ' < staging.index.html export file_path= " /home/docker " ./run.sh 首次运行时,DNS将配置错误的IP地址,因为它们是动态的。 前往https:// docker_host_ip:10000 /并使用

网友评论