goose icon indicating copy to clipboard operation
goose copied to clipboard

Package as docker image

Open blevz opened this issue 1 year ago • 5 comments

Would it be possible to add a docker image as a distribution mechanism for goose? I'd like to run it in a kubernetes cluster

blevz avatar Feb 05 '25 02:02 blevz

we don't have plans of supporting an official docker image yet. you can probably ask Goose to make one for you :)

salman1993 avatar Feb 05 '25 03:02 salman1993

Given this section of the security docs it seems like providing a docker image should be a priority

Use a dedicated virtual machine or container (Docker/Kubernetes) with limited privileged capabilities. This will minimize the risk of local system attacks or unintended access to critical system resources.

blevz avatar Feb 05 '25 14:02 blevz

Definitely +1 to having a docker approach clearly setup/documented. I think the issue is a standalone goose docker would only have goose itself, but nothing for it to work on :). So i'd suggest we add a doc for how to get it added to and use it in a container that already exists

baxen avatar Feb 07 '25 06:02 baxen

+1 i want to add this to my stack

RepairYourTech avatar Feb 07 '25 20:02 RepairYourTech

I am going to take a look at this as my next item on the list :)

ZhenLian avatar Feb 26 '25 18:02 ZhenLian

While working on this, I've come to realize that users might need to use Docker in slightly different ways. I'm starting a new discussion topic here to gather ideas on how users want to utilize goose in Docker: https://github.com/block/goose/discussions/1496 I am currently working on use case 2 - if you have any use case that's different than any of the case listed in the discussion, feel free to comment :)

ZhenLian avatar Mar 05 '25 01:03 ZhenLian

@blevz is your case handled by @ZhenLian's PR and can we close this, if not please share what you are looking for

meenalc avatar Mar 20 '25 06:03 meenalc

@meenalc Does this satisfy this request? https://block.github.io/goose/docs/guides/goose-in-docker/

aaronsb avatar Apr 18 '25 17:04 aaronsb

Yup, this satisfies the thrust of my request

blevz avatar Apr 27 '25 16:04 blevz