-
-
Save till/6a8923385167e98c06d14ef4b6f5f50f to your computer and use it in GitHub Desktop.
CURL and hostnames
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
core@node-001 ~ $ curl --unix-socket /var/run/docker.sock http:/plugins | |
{"message":"page not found"} | |
core@node-001 ~ $ curl -V | |
curl 7.66.0 (x86_64-cros-linux-gnu) libcurl/7.66.0 OpenSSL/1.1.1g zlib/1.2.11 | |
Release-Date: 2019-09-11 | |
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp | |
Features: AsynchDNS GSS-API HTTPS-proxy IPv6 Kerberos Largefile libz NTLM SPNEGO SSL TLS-SRP UnixSockets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@centos7 ~]# curl --unix-socket /var/run/docker.sock http:/plugins | |
[{"Config":{"Args":{"Description":"","Name":"","Settable":null,"Value":null},"Description":"Loki Logging Driver","DockerVersion":"17.09.0-ce","Documentation":"https://github.com/grafana/loki","Entrypoint":["/bin/docker-driver"],"Env":[{"Description":"Set log level to output for plugin logs","Name":"LOG_LEVEL","Settable":["value"],"Value":"info"}],"Interface":{"Socket":"loki.sock","Types":["docker.logdriver/1.0"]},"IpcHost":false,"Linux":{"AllowAllDevices":false,"Capabilities":null,"Devices":null},"Mounts":[{"Description":"Optional external pipeline files","Destination":"/data","Name":"data","Options":["bind","ro"],"Settable":["source","destination"],"Source":"","Type":"none"}],"Network":{"Type":"host"},"PidHost":false,"PropagatedMount":"","User":{},"WorkDir":"","rootfs":{"diff_ids":["sha256:420ae9bdb0670e32280fd9be7e1c9c1f5a09ce616177cbc47f09c46d3ecc2d69"],"type":"layers"}},"Enabled":true,"Id":"b5b76c65671a84c4e5c9281088216793038c9c1d0dc0d14b8371d3b1dfd74c11","Name":"loki:latest","PluginReference":"docker.io/grafana/loki-docker-driver:1.5.0","Settings":{"Args":[],"Devices":[],"Env":["LOG_LEVEL=info"],"Mounts":[]}}] | |
[root@centos7 ~]# curl -V | |
curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.36 zlib/1.2.7 libidn/1.28 libssh2/1.4.3 | |
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp | |
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment