tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sh -c 'whoami' gives permission error in docker container and puts m


From: Michael Albinus
Subject: Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell
Date: Wed, 05 Apr 2023 18:58:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

ParetoOptimalDev <pareto.optimal@mailfence.com> writes:

Hi,

> The full tramp debug buffer:

Don't know what you are doing, but obviously not what your recipe
says. We see

> 11:24:28.385111 tramp-maybe-open-connection (6) # /bin/sh -i
> 11:24:28.388031 tramp-wait-for-regexp (6) #
> #$
> 11:24:28.388400 tramp-send-command (6) # exec docker exec -it alpine3173 
> /bin/sh  -i
> 11:24:28.389459 tramp-process-actions (6) #
> sh: exec: docker: not found
> #$

> Just to be sure I sent the right debug buffer, here are the other
> buffers that are open per ibuffer following the steps in my previous email:
>
> .%  *debug tramp*                  6211 Help
>   * *debug tramp/docker root@alpine3173*  884165 Outline
>   * *eshell*                        189 Eshell           
> /docker:root@alpine3173:~/
>  %  root                            228 Dired by name    
> /docker:root@alpine3173:~/
>     *scratch*                       145 Lisp Interaction
>  %* *Messages*                     1033 Messages
>  %* *Async-native-compile-log*      228 Fundamental
>   * *debug tramp/cache nil*         252 Outline
>   * *tramp/docker root@alpine3173*     148 Fundamental
>   * *debug tramp/docker alpine3173*  114626 Outline
>  %* *Completions*                   191 Completion List

And this is another indication that you haven't done it. Please follow
your own recipe, including the changed variant of starting Emacs as I
have shown. And then I need the buffer *debug tramp/docker root@alpine3173*

One observation: you seem to use native compilation. I don't. If it
still fails, try Emacs w/o native compilation.

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]