gabrieldemarmiesse / python-on-whales

An awesome Python wrapper for an awesome Docker CLI!
MIT License
537 stars 100 forks source link

Add bootstrap cli flag for create/inspect #600

Closed fizzgig1888 closed 1 month ago

fizzgig1888 commented 2 months ago

Hello, The purpose of this PR is to add the hability to use the --bootstrap optional flag for the following commands : $ docker buildx create [OPTIONS] [CONTEXT|ENDPOINT] $ docker buildx inspect [NAME]

fizzgig1888 commented 1 month ago

Hello, and many thanks for the review and advices. Don't worry for the delay, I wasn't quick either.

Two unit tests were added : test_buildx_inspect_bootstrap and test_buildx_create_bootstrap, for checking the builder bootstrap effectiveness, as you requested :)