Ad
Docker Compose Can't Installed On Ubuntu 22.0.4
I was install Docker Compose on my Ubuntu 22.0.4 with this command line
$ mkdir -p ~/.docker/cli-plugins/
$ curl -SL https://github.com/docker/compose/releases/download/v2.3.3/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose
that process was running succesfuly and I write this command
$ docker compose version
after that command execute, nothing happened with my computer, then, when i checked my Compose Verison with this command
$ docker compose version
but the output is
docker: 'compose' is not a docker command.
My reference : https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-22-04
Ad
Answer
you can typo in the command. Run this these two commands
chmod 755 docker-compose
./docker-compose
Also I would recommend downloading this command in /usr/local/bin
directory.
cd /usr/local/bin/
curl -SL https://github.com/docker/compose/releases/download/v2.3.3/docker-compose-linux-x86_64 -o docker-compose
chmod 755 docker-compose
./docker-compose
Ad
source: stackoverflow.com
Related Questions
- → Docker containers clustering
- → Connection refused when running October artisan command with docker exec in Jenkins
- → AngularJS doesn't work with third party pre-render service
- → checking query arguments for loopback ACLs to allow `find`ing the user's data only
- → Redirect users to different domains of the same web application according to their ip address location
- → Splitting up a Rails and React app into separate Docker containers?
- → local shopify app development with docker: Request origin could not be verified
- → Slow response times: Laravel 5.2 in Docker container
- → How to cache node_modules on Docker build?
- → How to use host network while linking to a container?
- → What is a good way to run a large number of mocha tests at once from the command line?
- → Bitcoin how to create a new account via RPC
- → Git clone not working with npm
Ad