Josh Curl

Results 26 comments of Josh Curl

You can pass in a `ClientFactory` to `NewProject` (https://github.com/docker/libcompose/blob/master/docker/project.go#L21) to accomplish this.

I might not completely understand your use case, but I think something equivalent can be accomplished without the hooks. You can create custom commands while reusing the existing command definitions...

Yeah, the example often gets overlooked. Want to put in a PR to fix it? :smile:

Do you still see this issue in newer versions? I was having the same problem with RancherOS before libcompose switched to engine-api.

@vdemeester Can we create a separate issue for refactoring around `Container`? I'm just curious what the high-level goals are, particularly with respect to the `Container` project interface.