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: ParetoOptimalDev
Subject: Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell
Date: Wed, 05 Apr 2023 02:41:27 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

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



reply via email to

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