Incorrect Command , Syntax and Path for talawa-api setup for Ubuntu using docker. #2719
Labels
bug
Something isn't working
documentation
Improvements or additions to documentation
duplicate
This issue or pull request already exists
invalid
This doesn't seem right
unapproved
Unapproved for Pull Request
The documentation for setting up development containers on Ubuntu contains multiple incorrect command syntax and invalid paths for Docker Compose, leading to errors during setup.
Steps to reproduce the behavior:
1.Follow the Talawa API Docker Setup Documentation for Ubuntu development setup.
2.Run the following command as instructed in the documentation :
bash sudo /usr/libexec/docker/cli-plugins/docker-compose -f docker-compose.dev.yaml up --build
3.Observe the errors, including invalid command usage and path issues.
Expected behavior
The command should correctly start the development environment using Docker Compose without errors, ensuring compatibility with Ubuntu and both Docker Compose v1 and v2.
Actual behavior
The command fails with errors like:
-bash: /usr/libexec/docker/cli-plugins/docker-compose: No such file or directory
Recommended fixes
sudo docker compose -f docker-compose.dev.yaml up --build # For v2
or
sudo docker-compose -f docker-compose.dev.yaml up --build # For v1
Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship
The text was updated successfully, but these errors were encountered: