I'm working through a tutorial for XGBoost (see: https://github.com/ParrotPrediction/docker-course-xgboost), but am getting an error when running
$ docker-compose up
That I am fairly sure is caused by an outdated docker-compose version (-v tells me 1.3.1) resulting in an incompatibility with the new version 2 filetype.
However, when running sudo-apt get update, it tells me this is the most recent version (and have tried installing both via pip and the curl instructions on this page curl -L https://github.com/docker/compose/releases/download/1.8.0/run.sh > /usr/local/bin/docker-compose). pip runs fine, but leaves me with the current version seemingly and after getting permission denied running sudo curl ... I was able to get those instructions to run using sudo sh -c curl ...
I was however, able to update docker-compose to v1.8.0 as the root user using su -i, but those changes aren't carried over to my user account.