|
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 09:45:11 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) |
ParetoOptimalDev <pareto.optimal@mailfence.com> writes: Hi, > I've discovered that the `sh` being opened is on my local machine > instead of in the docker container somehow. > > My local machine using NixOS is `paretoOptimalDev`. > > The user in the alpine docker container is `root`. > > /docker:alpine3173:~ # cd > ~ $ cd /docker:alpine3173: > /docker:alpine3173:~ # sh > sh: cd: /root/: Permission denied > ///06d9583a7fb5354f2d29c32f414ae44b#$echo $USER > paretoOptimalDev > ///06d9583a7fb5354f2d29c32f414ae44b#$exit > exit I've lost the trace. Could you pls show a recipe (starting with "emacs -Q" how to reproduce? Best regards, Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |