Repository navigation
docs: Added guide for local exports - #4814
Conversation
There was a problem hiding this comment.
@marcosnils expressed some concerns about the DX under this approach. I agree it's not great but at the same time, this is a very common question in Discord (see the parent issue for links to user questions), so it might make sense to document it anyway? Or maybe we can improve it in some way?
Interested to hear thoughts on above from @vito @marcosnils @sipsma @shykes @samalba and it's not a problem for me to delete this section from the guide if that's the route we decide to go.
There was a problem hiding this comment.
Yeah, I think the DX here is frankly pretty terrible, but I agree that it's worth documenting just to have the answer out there.
Maybe we can add a warning or something that this isn't necessarily the recommended practice at the moment, owing to the bad DX, and it's just here for completeness?
There was a problem hiding this comment.
@marcosnils @sipsma @shykes @samalba: any comments on above?
There was a problem hiding this comment.
My concern is not so much with the bad DX, but the fact that it's under a pretty wide and generic title. This makes Dagger look bad, because it makes it look like "building an image for local dev on Dagger" is horribly complicated. When really, "building an image" is actually a good experience in Dagger; and it's specifically "loading an image into a local Docker engine" that's complicated. So my suggestion would be to change the title (and perhaps the intro paragraph) to make it clear that this complicated / bad DX is to solve a very narrow / specific problem (exporting images into a local docker engine). And not necessarily the only way to either "build an image" or "do local development".
Just imagine someone googling "build a docker image with dagger" or "local development with dagger", would you want them to find this article first?
There was a problem hiding this comment.
@shykes, thanks for this! Updated per your feedback.
77bbe09 to
2ecb721
Compare
Signed-off-by: Vikram Vaswani <[email protected]>
2ecb721 to
756522c
Compare
Signed-off-by: vikram-dagger <[email protected]>
Signed-off-by: Vikram Vaswani <[email protected]>
Signed-off-by: Vikram Vaswani <[email protected]>
Signed-off-by: vikram-dagger <[email protected]>
Signed-off-by: vikram-dagger <[email protected]>
This commit adds a guide for building/using containers locally with Dagger.
Closes #4812