late-keyboard-89314
07/13/2023, 4:03 PMpants package
I get the following out of the subprocess stderr:
ERROR: use `docker --context=default buildx` to switch to context "default"
I’m not seeing much in the pants log that looks weird, and a cursory google search suggests that this problem is normally related to the DOCKER_HOST
or DOCKER_CONTEXT
env vars.
I’m using pants v.216.0, and docker desktop on OSX; v4.21.1 (docker engine 24.0.2). Here’s a -ldebug
full output: https://gist.github.com/jcrumb-u21/b2836d74bd70d551f0b06ee90e2aaf19 and my full Dockerfile: https://gist.github.com/jcrumb-u21/dd907855b89fa6730e55fb27f829d1f4. I can see that the dependency inference is working and my Go binary is being built at least which is pretty sweet!high-agent-21601
07/13/2023, 4:11 PMlate-keyboard-89314
07/13/2023, 4:19 PMlate-keyboard-89314
07/13/2023, 4:19 PMlate-keyboard-89314
07/13/2023, 4:21 PMBuildx v0.11.0
in the 4.21.X branchplain-quill-25213
07/13/2023, 6:42 PMdocker context use default
. Seems like a change introduced by docker.late-keyboard-89314
07/13/2023, 6:43 PM