Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Docker Compose Tutorials: Install and Configuration Tutorial


Check path exist or not and Added in env. path - /usr/bin/
$ echo $PATH

To download and install Compose standalone, run:
$ sudo curl -SL https://github.com/docker/compose/releases/download/v2.6.0/docker-compose-linux-x86_64 -o /usr/bin/docker-compose

Apply executable permissions to the standalone binary in the target path for the installation.
$ sudo chmod 755 /usr/bin/docker-compose

Test and execute compose commands using docker-compose.
$ docker compose version

Notes for creating alias.
$ sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x