Replies: 1 comment
-
I saw that I must create the container with a customized home dir to prevent this from happening. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm a little confused on where the applications/packages are installed.
For example, if I install php in the container it is only accessible in the container, but nodejs not.
Example 1:
distrobox enter ubuntu
Now I'm inside the container via the terminal.
Then i install php:
sudo apt install php-cli
php -v
show php version. Ok,Now i exit from container and stop it,
php -v
show thats php are not installed, ok.But when installing nodejs, it is accessible on the host, even when the container is stoped.
In other words, it was installed on the host, correct?
Example 2:
distrobox enter ubuntu
Now I'm inside the container via the terminal..
Then i install node:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
nvm install node
node -v
shows node version, ok.Now i exit from container and stop it,
exit
distrobox stop ubuntu
Close terminal and open again.
Now I'm on the host
node -v
shows node version.It's not what I wanted. I want the node to be installed only in the container.
I know the installation methods are different, but how would I install nodejs just in the container?
Beta Was this translation helpful? Give feedback.
All reactions