Workaround for docker/docker#6345