charliecloud icon indicating copy to clipboard operation
charliecloud copied to clipboard

`ch-image` pull doesn't properly retain information in `/ch/environment`

Open nicholas-sly opened this issue 9 months ago • 0 comments

When Charliecloud pulls containers from a registry (in my case, a Gitlab repo registry), the file /ch/environment is changed to a generic state containing PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin rather than the information put in there when the container was built using the ENV directives. A viable workaround at the moment (assuming you have podman) is to pull with podman and then ch-convert to Charliecloud.

nicholas-sly avatar May 07 '24 21:05 nicholas-sly