gateway: create interface for reading from container filesystem by jsternberg · Pull Request #6262 · moby/buildkit (original) (raw)

tonistiigi

jedevc

tonistiigi

@jsternberg

This creates an interface that can be used to read the filesystem of a new container created through the gateway API. These filesystem reading methods are tied to a specific container that has been created, but aren't tied to the container itself.

Due to being run inside of buildkit, these containers have access to the same mounts that a container request would have. This is useful for features like the file explorer in buildx dap because it can access container filesystem state from stages that error along with ones that have completed successfully.

Signed-off-by: Jonathan A. Sternberg jonathan.sternberg@docker.com

tonistiigi

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})