Closed addshore closed 6 years ago
nice! I'm not completely up-to-speed with Docker, when I run docker run --rm wikibase/wikidata-cli --version
, I get the following message:
Unable to find image 'wikibase/wikidata-cli:latest' locally
docker: Error response from daemon: pull access denied for wikibase/wikidata-cli, repository does not exist or may require 'docker login'.
See 'docker run --help'.
Do I need to login to access it?
So I haven't pushed it to anywhere on docker hub. If you checkout the change and run the following in the wikidata-cli directory you should get it running
docker build -t wikibase/wikidata-cli ./
docker run --rm wikibase/wikidata-cli --version
You could make an account on hub.docker.com and then make an image called maxlath/wikidata-cli and use "docker push" to push the image! You can also setup auto building!
Whhheeee :D
I published the image and added a note in the readme, thank you for your help!
This Dockerfile easily enabled the command to be run.
I'm not sure what we want to call the image or where we want to push it. Perhaps this repo should actually be called wikibase-cli? ;) Also not sure how to include this in the README