Skip to content
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

docker-usage not possible #129

Open
marcoschleiwies opened this issue Feb 9, 2024 · 2 comments
Open

docker-usage not possible #129

marcoschleiwies opened this issue Feb 9, 2024 · 2 comments
Labels
bug Something isn't working question Further information is requested

Comments

@marcoschleiwies
Copy link

Hi,

I would like to use your tool but I am not able to run it in docker as the message is always
"=====> artifactory-cleanup.yaml is not a file"

I tried with the following command as stated in the docs:
docker run --rm -v "$(pwd)":/app -e ARTIFACTORY_USERNAME -e ARTIFACTORY_PASSWORD devopshq/artifactory-cleanup artifactory-cleanup
The docker image itself is ok - as I call it with -h or -v the expected information is printed out.

I have created the artifactory-cleanup.yaml in that directory - also tried to use a different one.
Env is a git bash on Windows 10.

Where does the error come from ?

@allburov
Copy link
Member

Env is a git bash on Windows 10.

never tried it on this, have no idea how underlying engine works.

Could you try it on any Ubuntu or linux-based OS?

@allburov allburov added bug Something isn't working question Further information is requested labels Feb 10, 2024
@allburov
Copy link
Member

run the docker with sh and see what files windows attached here in /app folder - it could help you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Development

No branches or pull requests

2 participants