neurodocker icon indicating copy to clipboard operation
neurodocker copied to clipboard

Minify removes environment variables

Open mateuszpawlik opened this issue 3 years ago • 4 comments

I minified an FSL container using the documentation. However, the environment variables, including PATH were not set in the new image, after docker import. I don't know if this is a result of docker export or docker import. I tried to find a reason but couldn't. I ended up building a new image with a new Dockerfile based on the import output and setting the variables again.

mateuszpawlik avatar Jun 13 '22 08:06 mateuszpawlik

yes, i don't think docker export preserves environment variables. what you did is the way to go... we should update the documentation with this information..

kaczmarj avatar Jun 13 '22 13:06 kaczmarj

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Sep 01 '23 01:09 github-actions[bot]

I don't remember this issue much anymore. In my opinion, a simple note in the docs would suffice.

mateuszpawlik avatar Sep 04 '23 08:09 mateuszpawlik

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Nov 04 '23 01:11 github-actions[bot]