Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to standard docker's socket /var/run/docker.sock #1

Closed
golak opened this issue Feb 23, 2016 · 4 comments
Closed

Cannot connect to standard docker's socket /var/run/docker.sock #1

golak opened this issue Feb 23, 2016 · 4 comments

Comments

@golak
Copy link

golak commented Feb 23, 2016

Start container (also try with --privileged option, same result)

docker run --name=zabbix-agent-xxl -h `hostname` -p 10050:10050 -v /:/rootfs  -e "ZA_Server=zabbix.srv"  -it monitoringartist/zabbix-agent-xxl-limited:latest

Output:

 Zabbix Agent XXL v0.8b public limited version
 Copyright (C) 2014-2016 Jan Garaj - www.monitoringartist.com
 Freeware licence - Usage of this binary is restricted to oficial monitoringartist Docker images only.
 Starting Zabbix Agent [swarm2]. Zabbix 3.0.0 XXL (2016-02-22) (revision {ZABBIX_REVISION}).
 Press Ctrl+C to exit.

     16:20160223:084954.710 Starting Zabbix Agent [swarm2]. Zabbix 3.0.0 XXL (2016-02-22) (revision {ZABBIX_REVISION}).
     16:20160223:084954.711 **** Enabled features ****
     16:20160223:084954.711 IPv6 support:          YES
     16:20160223:084954.711 TLS support:           YES
     16:20160223:084954.711 **************************
     16:20160223:084954.711 using configuration file: /etc/zabbix/zabbix_agentd.conf
     16:20160223:084954.711 Cannot connect to standard docker's socket /var/run/docker.sock
*** Error in `': munmap_chunk(): invalid pointer: 0x00007fb1773eae30 ***

Docker daemon running with parameters

daemon -H fd:// --log-driver=gelf --log-opt gelf-address=udp://192.168.15.93:12201 --log-opt tag=node1 --label enviroment=staging --label node=node2 --cluster-store=consul://192.168.15.66:8500 --cluster-advertise=eth0:2375 -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock
@jangaraj
Copy link
Member

Try to pull latest version. What is your OS?

@golak
Copy link
Author

golak commented Feb 23, 2016

Status: Image is up to date for monitoringartist/zabbix-agent-xxl-limited:latest
Ubuntu 15.10

@Asp3ctus
Copy link

i have the same issue

@jangaraj
Copy link
Member

Done. Pushed new version + Ubuntu users need also -v /var/run:/var/run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants