Giter Club home page Giter Club logo

docker-howto's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

docker-howto's Issues

Varnish Agent - DNS resolve issue on -T parameter

Hi,
there is an issue on agent starting.
On the docker compose the Varnish Agent use varnish as the dns name for the varnish container.

This is the docker-compose startup log:

docker-compose -f compose.yaml up
Creating network "docker-howto_default" with the default driver
Creating docker-howto_agent_1 ... done
Creating docker-howto_hitch_1 ... done
Creating docker-howto_varnish_1 ... done
Attaching to docker-howto_agent_1, docker-howto_hitch_1, docker-howto_varnish_1
agent_1 | waiting for the VSM to be up
agent_1 | varnishstat -1 -n /var/lib/varnish
hitch_1 | starting hitch
varnish_1 | starting varnishd
hitch_1 |
hitch_1 | /root/varnish-suite.sh: line 30: hitch: command not found
docker-howto_hitch_1 exited with code 127
varnish_1 | Debug: Version: varnish-plus-6.0.5r1 revision 89f57fddbd5cc2165d09eca150f73bfc0ac303e8
varnish_1 | Debug: Platform: Linux,4.9.184-linuxkit,x86_64,-junix,-smalloc,-sdefault,-hcritbit
varnish_1 | Debug: Child (17) Started
varnish_1 | Info: Child (17) said Child starts
agent_1 | starting varnish-agent
agent_1 | Dropping privileges to user varnish
agent_1 | ERROR: cannot extract ip from varnish
agent_1 | Failed to drop privileges: exit status 1
docker-howto_agent_1 exited with code 1

As you can see the agent showed ERROR: cannot extract ip from varnish .

What does varnish agent do to resolve dns ? I tried to use the IP Address directly and it works.

Step to reproduce the issue:

  • Clone git repository
  • run docker-compose -f compose.yaml up

Thanks

Best Regards
Luca

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.