简体   繁体   English

在Joyent Triton中获取docker.sock

[英]Getting docker.sock in joyent triton

I am trying to setup jwilder/nginx-proxy docker container on joyent's triton platform. 我正在尝试在jwilder/nginx-proxy平台上设置jwilder/nginx-proxy容器。 This container needs access to docker.sock to read information about its environment. 该容器需要访问docker.sock才能读取有关其环境的信息。 Basically it needs to do 基本上需要做

docker up -v /var/run/docker.sock:/tmp/docker.sock:ro ...

On triton this fails like 在特里顿,这失败像

Invalid host volume paths found: must be in the form "http://host/path:/container_path": ["/var/run/docker.sock:/tmp/docker.sock:rw"]

Any ideas how I could inject docker.sock into my container on triton? 有什么想法可以将docker.sock注入triton的容器中吗?

Triton doesn't currently support docker.sock. Triton当前不支持docker.sock。 You have to go through the DOCKER_HOST TCP port. 您必须通过DOCKER_HOST TCP端口。 If you would like this to be a feature, send them a tweet, email or github ticket. 如果您希望这成为一项功能,请向他们发送推文,电子邮件或github票证。

Full disclosure: I work for Joyent. 全面披露:我为Joyent工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM