Comments (6)
Nope, to my knowledge, this image has never set HOME
, which means it should've been the default of /
(although the next release of Docker might allow that to be autoset to whatever USER
is set to, so in this case, it'd become "/root", but that's a little ways out yet).
Were you connecting via SSH before? If you connect in through SSH, sshd will set HOME to the home directory defined for the user in /etc/passwd.
from docker-brew-ubuntu-core.
I am using ssh. But the same even held true when I ran docker build or did an interactive session. I will change my scripts to use $HOME, but was wondering if something got changed.
from docker-brew-ubuntu-core.
Nope, nothing's changed here, so that's strange.
from docker-brew-ubuntu-core.
I observed this with issues with some ENV variables on ubuntu:latest
Step 5 : RUN export ---> Running in 04db920c6278 export HOME="/" export HOSTNAME="b756a5b3138f" export OLDPWD export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" export PWD="/" export SHLVL="1"from docker-brew-ubuntu-core.
still relevant?
from docker-brew-ubuntu-core.
Nope, appears to be fine now!
$ docker pull ubuntu:trusty
trusty: Pulling from library/ubuntu
8387d9ff0016: Already exists
3b52deaaf0ed: Already exists
4bd501fad6de: Already exists
a3ed95caeb02: Already exists
Digest: sha256:5b5f0e5a3aaf52163621283b8a9369b11abad7729f739a87cbbe117d89dba219
Status: Image is up to date for ubuntu:trusty
$ docker run --rm ubuntu:trusty env | grep HOME
HOME=/root
from docker-brew-ubuntu-core.
Related Issues (20)
- Docker image 21.04 (rolling) - apt update error HOT 6
- less command missing Ubuntu 20.10 image HOT 1
- how to tell the version of python3 supported in the default repository without installing? HOT 2
- Repositories no longer have release files HOT 3
- changelogs of "native" packages are missing HOT 3
- Cannot create new threads in Ubuntu 21.10 HOT 2
- [Question] Why date is not updated when new version is created? HOT 2
- to use gpu but slow HOT 1
- Ubuntu:20.04 image usage guidelines HOT 1
- Update Ubuntu Focal 20.04 image to 20220105 HOT 9
- dpkg broken in Jammy image on singular-doc pkg extraction HOT 2
- Need help in increasing the windows/chrome resolution for Ubuntu image HOT 1
- Update Ubuntu Focal 20.04 image to 20220316 HOT 4
- apt update fails on ubuntu:jammy unless --security-opt seccomp=unconfined is specified HOT 16
- Rerun build job to update ubuntu image LTE 20.04 HOT 1
- `apt update` fails on macOS HOT 1
- how to build 16.04.4 docker image? HOT 1
- Q: Get SERIAL or GitHash from running image HOT 1
- ubuntu:latest throws an error "failed to solve with frontend dockerfile.v0" HOT 3
- Unable to build from ubuntu 21.04 since 23 july HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-brew-ubuntu-core.