Giter Club home page Giter Club logo

docker-gen's People

Contributors

gh0st-app1e avatar helderco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-gen's Issues

Incorrect curl options when using TCP docker endpoint

When using TCP docker endpoint instead of UNIX socket one, docker-label-sighup still adds --unix-socket option to curl's commandline.
Execution log of docker-label-sighup:

bash-5.1# printenv DOCKER_HOST
tcp://docker-proxy:2375
bash-5.1# bash -x /usr/bin/docker-label-sighup com.example.nginx_proxy
++ docker_api /containers/json GET 'filters={"label": ["com.example.nginx_proxy"]}'++ jq 
++ local host
++ local path=/containers/json
++ local method=GET
++ local 'data=filters={"label": ["com.example.nginx_proxy"]}'
++ curl_opts=('-s')
++ local curl_opts
++ '[' GET = POST ']'
++ '[' -n 'filters={"label": ["com.example.nginx_proxy"]}' ']'
++ curl_opts+=(--get)
++ curl_opts+=(--data-urlencode "$data")
++ '[' -z tcp://docker-proxy:2375 ']'
++ '[' -n tcp://docker-proxy:2375 ']'
++ curl_opts+=(--unix-socket ${DOCKER_HOST#unix://})
++ host=http://localhost
-r ++ curl -s --get --data-urlencode 'filters={"label": ["com.example.nginx_proxy"]}' --unix-socket tcp://docker-proxy:2375 http://localhost/containers/json
'[.[] | .Id] | join(" ")'
+ containers=
+ '[' -z '' ']'
+ echo 'Error: can'\''t get containers for label '\''com.example.nginx_proxy'\'''
Error: can't get containers for label 'com.example.nginx_proxy'
+ exit 1

I believe the issue was introduced in 7c9a946.

Stale registry image and general project status

Hi,
I noticed the dockerhub registry entry is now pretty stale, missing the subsequent upstream releases at nginxproxy/docker-gen.

From what I see, the current Dockerfile would only need to change the base image to nginxproxy/docker-gen (the upstream project has since been transferred)

Is this project still usable/used, or would you recommend against it?

If it shouldn't be used, do you have any alternative solution you know of?

Thanks!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.