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

HOME is not passed to configparser initialization #5

Open
wumb0 opened this issue Sep 27, 2018 · 0 comments
Open

HOME is not passed to configparser initialization #5

wumb0 opened this issue Sep 27, 2018 · 0 comments

Comments

@wumb0
Copy link

wumb0 commented Sep 27, 2018

USER is passed in, but HOME is not. This causes the variable replacement in the dockersh.ini to fail with the following error.

configparser.InterpolationMissingOptionError: Bad value substitution: option 'homedir' in section 'DEFAULT' contains an interpolation key 'HOME' which is not a valid option name. Raw value: '${HOME}'

https://github.com/sleeepyjack/dockersh/blob/master/dockersh#L115
Perhaps add HOME: os.environ['HOME'] to the config_envir dict.

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

No branches or pull requests

1 participant