Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom change directory and tmp cannot use same time #12

Open
ahmetozer opened this issue Nov 15, 2024 · 0 comments
Open

custom change directory and tmp cannot use same time #12

ahmetozer opened this issue Nov 15, 2024 · 0 comments

Comments

@ahmetozer
Copy link
Owner

If provisioned environment requires temporary test, tmp environment cannot be provisioned with existing setup.

sandal run --chd=/my/path --tmp=100 

Root cause

Behavior of tmp is create TMPFS to default path /var/lib/sandal/container/mycontainer/changes/workdir and if the user use --tmp command, it does not has impact at container environment.

Warning do not mount TMPFS to /var/lib/sandal/container/mycontainer/changes/workdir, instead replace chdir to one of lower layer and replace chdir with tmp destionation, with this changes can keep at environment and and temp can provisioned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant