6 ms·
Looks good! I'd marked 'docker pull' as out of scope because I thought it would be fairly hard to interface with their API from bash, looks like I was wrong.
by p8952 11y ago
Looks good!
I'd marked 'docker pull' as out of scope because I thought it would be fairly hard to interface with their API from bash, looks like I was wrong.
- tlrobinson 11y agoThe only hard bit is parsing the JSON, which I use jq for (http://stedolan.github.io/jq/ http://stedolan.github.io/jq/) I think the v2 API requires hitting an auth endpoint too.