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

Bind current working directory to container #2837

Open
fgvieira opened this issue Apr 23, 2024 · 0 comments
Open

Bind current working directory to container #2837

fgvieira opened this issue Apr 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@fgvieira
Copy link
Contributor

fgvieira commented Apr 23, 2024

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

When using a container, the cwd is not binded and leads to an error:

/bin/bash: logs/path/to/log/file.log: No such file or directory

However, if I export:

export APPTAINER_BIND=`pwd`

then it all works fine.

Describe the solution you'd like
A clear and concise description of what you want to happen.

By default, the current working directory should be binded to the container image.

@fgvieira fgvieira added the enhancement New feature or request label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant