Skip to content

pkg/utils: Preserve HOME environment variable when forwarding to host - #1670

Merged
debarshiray merged 1 commit into
containers:mainfrom
debarshiray:wip/rishi/issues-1564-01
Jun 28, 2025
Merged

debarshiray merged 1 commit into
containers:mainfrom
debarshiray:wip/rishi/issues-1564-01

Conversation

@debarshiray

Copy link
Copy Markdown
Member

Currently, it's impossible to create a Toolbx container with a different home directory from the host while sitting inside a Toolbx container.

Preserving the HOME environment variable when forwarding to the host will enable users to create containers with different home directories for increased isolation while sitting inside a Toolbx container, and to isolate the host's HOME from the system tests.

This was never supported by the POSIX shell implementation.

#1044
#1564

Currently, it's impossible to create a Toolbx container with a different
home directory from the host while sitting inside a Toolbx container.

Preserving the HOME environment variable when forwarding to the host
will enable users to create containers with different home directories
for increased isolation while sitting inside a Toolbx container, and to
isolate the host's HOME from the system tests.

This was never supported by the POSIX shell implementation.

containers#1044
containers#1564
@debarshiray
debarshiray merged commit cc5f8fd into containers:main Jun 28, 2025
@debarshiray
debarshiray deleted the wip/rishi/issues-1564-01 branch June 28, 2025 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant