Problem running Docker Compose on Ubuntu

I am trying to run Docker Compose on a Ubuntu 15.4 (Vivid) VirtualBox VM. When I try to run docker-compose, I get the following response:

docker-compose --version
/usr/bin/docker-compose: line 1: syntax error near unexpected token 'newline'
/usr/bin/docker-compose: line 1: '<!DOCTYPE html>'

The error is a bit different if I use sudo

sudo docker-compose --version
/usr/bin/docker-compose: line 1: syntax error near unexpected token 'newline'
/usr/bin/docker-compose: 2: /usr/bin/docker-compose: Syntax error: newline unexpected

docker-compose is owned by root and permissions are set to allow execute

I am using Docker 1.8.2 and docker-compose 1.3.3

Can anyone help solve this problem?

Thanks in advance

John

Could be a bug.