-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Airflow set up, part 3: Fixing issue with docker compose
syntax
#223
Airflow set up, part 3: Fixing issue with docker compose
syntax
#223
Conversation
I have no issue using ❯ ls /usr/local/bin/ | grep docker
com.docker.cli
docker
docker-compose
docker-compose-v1
docker-credential-desktop
docker-credential-ecr-login
docker-credential-gcloud
docker-credential-osxkeychain
docker-diagnose
docker-image-tool.sh
docker-index
kubectl.docker Update: But the fact that the official Airflow documentation is written using the Update: it seems |
b3c5eaa
to
ebc383e
Compare
423d533
to
528136e
Compare
Thank you very much for the pointers @d0choa! I investigated further, and apparently the issue was that my Docker installation on Ubuntu was done years ago, before it even had official Ubuntu packages. So all this time I was using an unofficial package I've reverted syntax back to "docker compose" and added a note in case anyone encounters this in the future. |
Codecov Report
@@ Coverage Diff @@
## tskir-3143-2-fix-for-uid #223 +/- ##
=========================================================
Coverage 85.64% 85.64%
=========================================================
Files 81 81
Lines 1853 1853
=========================================================
Hits 1587 1587
Misses 266 266 |
We can live without this warning. We can probably assume someone is using a moderately modern version of Docker. |
@d0choa Here's the thing though: I did have the latest version of Docker installed and still ran into this error. It's not about the version, it's about the packages which were used to install it. Docker only started officially providing Linux packages two years ago. So everyone who installed it on Debian/Ubuntu more than two years ago using the My opinion remains that having this warning, which might apply to a sizable portion of Debian/Ubuntu users, would be helpful. Especially seeing as we do keep a platform specific warning about macOS memory issues 🙃 |
Closes opentargets/issues#3143.
Third and final part of updates for opentargets/issues#3143, split for readability and easier review.
For me, on Ubuntu,
docker-compose
(with hyphen) works, whiledocker compose
(with space) does not:I installed it in a standard way via apt (
sudo apt install docker.io
).It looks like this distinction has a long history: docker/compose#8630; and certainly there are fixes and workarounds about this.
However, I was wondering: @d0choa @ireneisdoomed, does
docker-compose
(with hyphen) work for you on your machines?