Thanks to visit codestin.com
Credit goes to github.com

Skip to content

src-cli doesn't work with podman #855

@lookcrabs

Description

@lookcrabs

Description

When trying to run src-cli I get an obtuse error:

$ SRC_ENDPOINT="https://sourcegraph.host" SRC_ACCESS_TOKEN="XYXYXYXYXYXYXYXY" src batch preview -v -f replace-bugs.batch.yaml 

❌ Error:
   exit status 125
   
💡 The troubleshooting documentation can help to narrow down the cause of the errors:
   https://docs.sourcegraph.com/batch_changes/references/troubleshooting

After some poking around it looks like the src-cli does docker info --format '{{ .NCPU }}' underneath link. I think podman throws the number of cpus in docker info --format '{{ .Host.CPUs }}'.

When running this command manually I get exit status 125 which makes me think this is the issue but not sure.

using src-cli version 3.43.2 and sourcegraph 3.43.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions