Tag Archives: linux

docker client / server API version mismatch

There may be the case that you connect the remote docker service with the API version older than your local one.

Error response from daemon: client is newer than server (client API version: 1.24, server API version: 1.22)

Since docker 1.10, we can use the environment variable  DOCKER_API_VERSION to override the API version like this:


Installation docker on ubuntu 16.04 hangs…

Docker use aufs storage driver provided by linux-image-extra-*

If you use the mainline kernel from PPA. The apt install may get stuck.

A workaround is overwrite the systemd configuration to use overlay for docker service:

Create /etc/systemd/system/docker.service.d/overlay.conf :

ExecStart=/usr/bin/docker daemon -H fd:// -s overlay

Flush systemd setting:

sudo systemctl daemon-reload

verify that the configuration has been loaded:

systemctl show --property=ExecStart docker

restart docker:

sudo systemctl restart docker

Enabling “Emulate3Buttons”

I really love to use trackball but there is no middle button on my Logitech trackball to do the copy and paste.

In order to do so with holding down both left and right button, just add a section to /etc/X11/xorg.conf:

 Section "InputClass"
     Identifier "middle button emulation class"
     Option "Emulate3Buttons" "on"

Then restart the window manager.