Docker Community Forums

Share and learn in the Docker community.

Problem running Docker Compose on Ubuntu


(Jcprout) #1

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


(Dvohra) #2

Could be a bug.