#I noticed this this using the docker cli

1 messages · Page 1 of 1 (latest)

lime terrace
#

I guess it is managing docker context's.

naive furnace
#

this line?

CacheConfigEnvName = "_EXPERIMENTAL_DAGGER_CACHE_CONFIG"

runic pulsar
naive furnace
runic pulsar
#

+1 another advantage is that with the current approach que have podman support out of the box since for what I've seen in the wild everyone just aliases podman to docker as it's suggested in the podman docs

buoyant oak
#

^ Also I know someone was able to use nerdctl instead of the actual docker cli for the same reason.

I'd say that in general I probably wouldn't be opposed to leaving in the current code but having a fallback that uses the docker API client directly in case the CLI isn't available. It would be an unfortunate complication to the code but if the CLI requirement is causing big headaches then this is definitely worth considering I think.

terse ginkgo
#

I was searching through the feedback to see if anybody was talking about this and wanted to leave my 2 cents: I'm currently trying to get our first dagger-based tool into our existing pipeline, which runs on a bunch of different docker images -- some of them already have the docker CLI and some don't. And installing the CLI properly is a Whole Thing involving adding an apt repo and the keys for the apt repo and/or manually installing buildx.

On my own dev machine like, yeah, docker is always going to be there -- and if I were making a new image just to bootstrap a dagger process it'd make total sense to include it. But it's a surprising bit of friction at the point of first adopting the tool.

#

@buoyant oak @naive furnace ^

runic pulsar
terse ginkgo
#

they don't!

#

🙃

#

I guess more context is probably appropriate here -- and now I'm thinking about it, maybe I'm the weird case out...

runic pulsar
#

so you're saying that installing docker for them is complex?

terse ginkgo
#

not insurmountably, but annoying

runic pulsar
#

your argument is totally valid and we discussed this in the past to eventually remove the docker dependency. IIRC there's even an issue for that. That's coming, it's just that it hasn't hit the priority bell yet

terse ginkgo
#

well, the context (which may make me less compelling): my first use for dagger is to create a storage layer that will transfer (non-container) build artifacts between various jobs. I'm doing this by creating empty containers that include only build files