gquintard / docker-howto Goto Github PK
View Code? Open in Web Editor NEWCode support for docker blog
Code support for docker blog
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.
docker-compose -f compose.yaml up
Thanks
Best Regards
Luca
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.