

Thanks to this, I removed the old docker-compose version and added the stable to the system - I use the curl tool to download binary file docker-compose, putting it in the right path and giving it the right permissions - all this process has been described in the posts above. In this case, I suggest you use the find tool in your system to find binary file docker-compose - example syntax: sudo find / -name 'docker-compose'. At my case, docker-compose was in the default path /usr/bin/docker-compose. When you try to manually remove the old docker-compose binaries, you can have information about the missing file in the default path /usr/local/bin/docker-compose.
#MAC INSTALL DOCKER DOCKER COMPOSE HOW TO#
The official site of the project is toturial how to do this process - src:

If you want to use the configurations configurations in version 3 you have to do update / install docker-compose to the version of at least 1.17 - preferably the latest stable. From my own experience with work in the docker I recommend using container configurations in version 3 - there are more configuration options to use than in versions <3. Inthe official site of the project is a recommendation to use container configuration in version 3 - src: / compose-versioning /. This docker-compose version does not support configuration files in version 3. Refered to the answers given above (I do not have enough reputation to refer separately to individual solutions, hence I do this collectively in this place), I want to supplement them with some important suggestions:ĭocker-compose you can install from the repository (if you have this package in the repository, if not you can adding to system a repository with this package) or download binary with use curl - totourial on the official website of the project - src: /ĭocker-compose from the repository is in version 1.8.0 (at least at me).
