The Hyperkit wrapper included in Docker Desktop For Mac as a "key component." Its source code shows that the JSON config is directly used to configure com.docker.hyperkit.
As you can see, the location of com.docker.hyperkit and the arguments are clearly specified in this JSON-formatted file. There's no need for injection.
UPDATE: it turns out hyperkit will only "write the state to the JSON file."
~/Library/Containers/com.docker.docker/Data/vms/0/hyperkit.json
gives me the followingTheHyperkit
wrapper included in Docker Desktop For Mac as a "key component." Its source code shows that the JSON config is directly used to configurecom.docker.hyperkit
.https://github.com/moby/hyperkit/blob/ed9ab73104691fb24db340b58e28a7d45e177eea/go/hyperkit.go#L58
https://github.com/moby/hyperkit/blob/ed9ab73104691fb24db340b58e28a7d45e177eea/go/hyperkit.go#L42-L137
As you can see, the location ofcom.docker.hyperkit
and the arguments are clearly specified in this JSON-formatted file. There's no need for injection.UPDATE: it turns out
hyperkit
will only "write the state to the JSON file."