Note that the following:
> emacs -Q > > C-x C-f /docker:alpine3173: RET > > M-x eshell > > ``` > Welcome to the Emacs shell > > /docker:alpine3173:~ # sh > sh: cd: /root/: Permission denied > ///d7a490935d9ccac4bbd00c51c4cb863b#$echo $USER > paretoOptimalDev > ///d7a490935d9ccac4bbd00c51c4cb863b#$echo $SHELL > /run/current-system/sw/bin/bash > ///d7a490935d9ccac4bbd00c51c4cb863b#$ > exit > /docker:alpine3173:~ # whoami > paertoOptimalDev > ``` FYI this works fine in `M-x shell`: ``` emacs -Q C-x C-f /docker:alpine3173: RET M-x shell /docker:alpine3173:/root/ #$ sh -c whoami root ``` So this is something specific to eshell I think?
