Replies: 1 comment
|
I saw that I must create the container with a customized home dir to prevent this from happening. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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 ubuntuNow I'm inside the container via the terminal.
Then i install php:
sudo apt install php-cliphp -vshow php version. Ok,Now i exit from container and stop it,
php -vshow 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 ubuntuNow 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 | bashnvm install nodenode -vshows node version, ok.Now i exit from container and stop it,
exitdistrobox stop ubuntuClose terminal and open again.
Now I'm on the host
node -vshows 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?
All reactions