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