2023-10-05 23:24:27 +05:00
# container-compose
2023-10-05 23:58:26 +05:00
neither docker-compose or podman-compose supports building multi arch images and push them to registrar. this is a bash script to attempt to fix it and add support for it.
2023-10-08 01:23:23 +05:00
### Spec to follow
[https://github.com/compose-spec/compose-spec/blob/master/spec.md#compose-file ](https://github.com/compose-spec/compose-spec/blob/master/spec.md#compose-file )
2023-10-05 23:58:26 +05:00
This script checks if current dir has one of these files, in this oder
```text
compose.yaml
compose.yml
docker-compose.yaml
docker-compose.yml
podman-compose.yaml
2023-10-06 00:33:12 +05:00
podman-compose.yml
2023-10-05 23:58:26 +05:00
container-compose.yaml
container-compose.yml
```
2023-10-08 00:52:02 +05:00
# Install system-wide
**WARNING: DO NOT RUN RANDOM COMMANDS OFF THE INTERNET LIKE THIS, READ WHAT IT DOES AND RUN ONLY IF YOU CAN TRUST IT!**
*anyway..*
2023-10-08 00:55:19 +05:00
```bash
sudo curl -L https://git.shihaam.dev/shihaam/container-compose/raw/branch/main/container-compose -o /usr/local/bin/container-compose \
& & sudo chmod +x /usr/local/bin/container-compose
2023-10-08 00:52:02 +05:00
```
2023-10-08 00:53:12 +05:00
Run the same command again to update it.