Run containers using apple's new "container" command and "docker-compose.yml"
NOTE: While this is currently very much an MVP, I have been using it myself for the last 2 months.
- First install Apple's "container" using Container
Tutoral, you
will need to setup dns using "test" as a domain (as suggested in the doc).
Currently that means running
container system start
andsudo container system dns create test
. - Copy the latest release of "container-compose" to the path
- Run "container-compose" from a directory with a "docker-compose.yml" file.
go build -trimpath -buildvcs -o ./container-compose .