Docker run returns error code 7 #3784
Replies: 3 comments 1 reply
-
Oh, this is inside |
Beta Was this translation helpful? Give feedback.
-
Should I call this from the Makefile somehow differently? |
Beta Was this translation helpful? Give feedback.
-
@vitaly-zdanevich Holy carp, this was annoying to fix, but I appreciated your comment, it made me realize that I too was running into a The issue is sorta the documentation. See:
So try the following, and it should work. It worked for me at least! docker run --rm -v $(CURDIR):/app -v ~/.cache/golangci-lint/v1.52.2:/root/.cache -w /app golangci/golangci-lint:v1.52.2 golangci-lint run -v |
Beta Was this translation helpful? Give feedback.
-
Welcome
Description of the problem
I tried this command from the documentation:
docker run --rm -v $(pwd):/app -v ~/.cache/golangci-lint/v1.52.2:/root/.cache -w /app golangci/golangci-lint:v1.52.2 golangci-lint run -v
and got:
Docker logs:
Version of golangci-lint
1.52.2
Configuration file
Go environment
Verbose output of running
...
Code example or link to a public repository
The code is private.
Beta Was this translation helpful? Give feedback.
All reactions