I’m trying to install docker-compose-plugin onto Amazon Linux 2, so that "docker compose" acts more like "docker-compose" would. [As I understand, the latter is deprecated] I can’t find any instructions and the obvious approach (treat it like Centos 7) does not work at all – the basic way docker is installed on Amazon Linux 2 is very different.
Does anybody know?
2
Answers
I did find the answer to this, or at least one that works seemingly well:
If you do "docker compose help" it should look like docker-compose used to output.
Here is a bash script to install latest docker compose plugin for all users on amazon linux 2: