-
Notifications
You must be signed in to change notification settings - Fork 73
Description
Which area this feature is related to?
/kind bug
Which area this bug is related to?
/area registry
Bug Summary
Describe the bug:
When using bash index/server/build.sh under registry-support, the script does not load the alias docker=podman when the user has this setup as it does with bash build_registry.sh: https://github.com/devfile/registry-support/blob/f66264f22310c3c93bf0c77db5f4cd4b560aba5e/build_registry.sh#L28
To Reproduce: Run bash index/server/build.sh while having set export USE_PODMAN=true under your shell .rc file.
Expected behavior
While having set export USE_PODMAN=true under your shell .rc file, all docker commands should be referencing podman commands instead, running podman instead of docker for the container engine.
Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
index/server/build.sh: line 25: docker: command not found
Additional context
Related Issues
- [Spike] Investigate registry support scripts to identify missing podman support #1503
- Registry support integration test suite build and push image does not load podman alias #1502
Any workaround?
Manually changing all usages of docker under index/server/build.sh while running locally and standalone from build_registry.sh.
Suggestion on how to fix the bug
The inclusion of build_registry.sh#L21 and build_registry.sh#L28 in index/server/build.sh to support running the script standalone with podman.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status