文件名称:docker-plugin-kv-consul:在容器启动时设置领事密钥
文件大小:9KB
文件格式:ZIP
更新时间:2024-07-29 13:50:32
Shell
docker-plugins 的 KV_CONSUL 插件 这是一个用于,它在容器启动时设置 consul 密钥。 当与和或类似工具一起使用时,此插件非常有用。 安装 docker run -it --rm \ -e DEBUG=1 \ -e "INSTALL=https://github.com/bryanlarsen/docker-plugin-kv-consul" \ -e "ENABLE=docker-plugin-kv-consul" \ -e "KV_CONSUL_IP=consul.service.consul" \ --hostname="$(hostname)" \ -v /var/run/docker.sock:/var/run/docker.sock \ progrium/plugins 或者 docker run -i
【文件预览】:
docker-plugin-kv-consul-master
----Dockerfile(321B)
----test_data()
--------redis-explicit-name-id(2KB)
--------no-ports(914B)
--------redis-multiple-ports(1KB)
--------redis(2KB)
--------redis-explicit-multiple(1KB)
----plugin.toml(286B)
----README.md(3KB)
----start(8KB)