https://github.com/sd2k/dc
Docker-compose wrapper which automatically adds the `-f` flag
https://github.com/sd2k/dc
Last synced: about 2 months ago
JSON representation
Docker-compose wrapper which automatically adds the `-f` flag
- Host: GitHub
- URL: https://github.com/sd2k/dc
- Owner: sd2k
- License: mit
- Created: 2021-08-20T14:34:11.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-23T16:18:48.000Z (over 4 years ago)
- Last Synced: 2026-01-17T11:54:34.656Z (6 months ago)
- Language: Rust
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
`dc`
A tiny docker-compose wrapper which searches parent directories for the docker-compose.yaml file, and passes it to the `-f` flag of docker-compose.
# Installation
Install a recent-ish Rust toolchain if you've not already got one. The recommended method is using [Rustup](https://rustup.rs/).
Then run `cargo install --git https://github.com/sd2k/dc` from the repository root. This will place the `dc` binary in `~/.cargo/bin`. You may need to modify your PATH to move that directory to be earlier than `/usr/bin`, since `dc` already exists on Unix as a calculator.
## Shell completion
Shell completion is available for zsh. Installation instructions for oh-my-zsh are in completion/zsh/README.md.