Search This Blog

Friday 24 April 2015

Setting System Wide Proxy on Ubuntu

Put your export settings in /etc/environment

https_proxy=http://<host>:<port>/
http_proxy=http://<host>:<port>/


Friday 10 April 2015

OSX Keyboard Media Keys Stopped Working in iTunes

For me the Chrome Google play extension had stolen the functions.

Chrome | Settings | Extensions & scroll to the bottom of the page | Keyboard Shortcuts

Thursday 2 April 2015

Docker, CentOS & a Proxy all walk into a pub

CentOS 7.1 behind SQUID Proxy.  Docker install using YUM.


docker info

FATA[0000] Get http:///var/run/docker.sock/v1.18/images/search?term=apache: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?

Followed the official instructions @ https://docs.docker.com/articles/systemd/ which seemed to fix docker info but subsequent

docker search <name>

would fail with :

FATA[0127] Error response from daemon: Get https://index.docker.io/v1/search?q=name: dial tcp 162.242.195.84:443: connection timed out

Tried setting the environment variable manually and also running the command inline

https_proxy=http://<server>:<port> docker search <name>

Stumbled across a blog suggesting adding environment variables to /etc/sysconfig/docker

 HTTP_PROXY=http://<IP>:<Port>   
 http_proxy=$HTTP_PROXY  
 HTTPS_PROXY=$HTTP_PROXY  
 https_proxy=$HTTP_PROXY   
 export HTTP_PROXY HTTPS_PROXY http_proxy https_proxy   

Problem fixed