dockerfile-plus icon indicating copy to clipboard operation
dockerfile-plus copied to clipboard

Does not work over SSH

Open rnwhitehead opened this issue 2 years ago • 0 comments

I'm building on an embedded system, using Visual Studio Code's remote build facility which works over SSH. When I try to use dockerfile-plus I get the following:

=> [internal] load build definition from Dockerfile                                                                                                                                                                                          0.0s
 => => transferring dockerfile: 1.19kB                                                                                                                                                                                                        0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                             0.1s
 => => transferring context: 34B                                                                                                                                                                                                              0.0s
 => ERROR resolve image config for docker.io/edrevo/dockerfile-plus:latest                                                                                                                                                                    0.4s
------
 > resolve image config for docker.io/edrevo/dockerfile-plus:latest:
------
failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = error getting credentials - err: exit status 1, out: `Cannot autolaunch D-Bus without X11 $DISPLAY`

I presume this is because it is trying to use the new fancy output format which won't work over SSH, is that correct?

rnwhitehead avatar May 05 '22 09:05 rnwhitehead