-
Notifications
You must be signed in to change notification settings - Fork 188
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
pip failing to run git in docker #465
Comments
@mkaushik17 Can you please fill in each field of the issue template? Most especially, the EXACT command that you're running (with any sensitive values changed to a placeholder string such as ""), and the image tag that you're using? If the Bug ReportWhen reporting a bug in awslimitchecker, please provide all of the following information, Versionawslimitchecker version, as reported by Installation MethodHow was awslimitchecker installed (provide as much detail as possible, ideally Supporting Software VersionsThe output of Actual Output
Expected OutputDescribe the output that you expected (what's wrong). If possible, after your description, TrustedAdvisorIf the bug/issue is related to TrustedAdvisor, which support contract your account has. Testing AssistanceIndicate whether or not you will be able to assist in testing pre-release |
I'm seeing the same error from the latest image from dockerhub, but it seems like running the checks actually works fine. I thought it was broken for a while too when I was running Version$ docker run jantman/awslimitchecker --version --region us-east-1
CRITICAL:pip.subprocessor:Error [Errno 2] No such file or directory: 'git' while executing command git config --get-regexp 'remote\..*\.url'
awslimitchecker 8.0.2 is AGPL-licensed free software; all users have a right to the full source code of this version. See <https://github.com/jantman/awslimitchecker>
awslimitchecker 8.0.2 (see <https://github.com/jantman/awslimitchecker> for source code) $ docker images jantman/awslimitchecker
REPOSITORY TAG IMAGE ID CREATED SIZE
jantman/awslimitchecker latest 1fa15f073655 3 months ago 181MB Installation Method$ docker pull jantman/awslimitchecker
Using default tag: latest
latest: Pulling from jantman/awslimitchecker
Digest: sha256:c801f06d7a279be187524fe706c9489d02bddc8d0e446299fc07446ccb342de0
Status: Image is up to date for jantman/awslimitchecker:latest
docker.io/jantman/awslimitchecker:latest Supporting Software Versions
Actual outputRunning this also produces that error but then does go on to give some real data
|
@tmo-trustpilot Thanks for the details. I'll do my best to dig into this within the next few days. |
I got into the same problem.
how to avoid the error? |
Suppress pip.subprocessor logging - fixes jantman/awslimitchecker#465
The fix for this has been released in 8.1.0 which is now live on PyPI and live on Docker Hub. Thank you so much!! |
facing this error after creating the docker image.
not able to run docker successfully
Installation Method
Getting error when doing the docker run -e "*"
e.g. sudo docker run -e AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION jantman/awslimitchecker --version
gives the following error
Error: CRITICAL:pip.subprocessor:Error [Errno 2] No such file or directory: 'git' while executing command git config --get-regexp 'remote..*.url'
Installation done on docker with the docker image provided
fresh installation done over an Ubuntu 18.04
docker version 19.03.8
The text was updated successfully, but these errors were encountered: