Fly CLI is a tool to manage Docker containers using Docker Compose commands. It simplifies the common operations needed to start, stop, and view logs for your Docker containers.
fly up: Starts Docker containers defined in the Docker Compose file.fly down: Stops and removes Docker containers defined in the Docker Compose file.fly logs: Displays logs from Docker containers defined in the Docker Compose file.fly --help: Provides help texts and usage instructions for the CLI tool.
-
Download and run the install script:
curl -L -o install.sh https://github.com/kzamanbd/fly-cli/releases/download/v1.0.0/install.sh chmod +x install.sh ./install.sh
-
Verify the installation by running:
fly --help
-
Download
fly.exefrom here. -
Move
fly.exeto a directory included in your system's PATH (e.g.,C:\fly-cli). -
Add the directory to your PATH:
- Open the System Properties window (
Win + Pause/Break). - Click on
Advanced system settings. - Click on
Environment Variables. - In the
System variablessection, find thePathvariable and clickEdit. - Click
Newand add the path to the directory where you placedfly.exe(e.g.,C:\fly-cli). - Click
OKto close all windows.
- Open the System Properties window (
-
Verify the installation by opening Command Prompt and running:
fly --help
Use the following commands to manage your Docker containers:
- Start containers:
fly up - Stop and remove containers:
fly down - Show logs:
fly logs - Help:
fly --help
Please feel free to submit issues, fork the repository, and send pull requests! To get started, you can follow the steps below:
- Fork the repository.
- Create a new branch (
git checkout -b feature/feature-name). - Make changes and commit them (
git commit -am 'Add new feature'). - Push the changes to the new branch (
git push origin feature/feature-name). - Create a pull request.
This project is licensed under the MIT License.