-
Notifications
You must be signed in to change notification settings - Fork 34
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
parse error: Invalid numeric literal at line 2, column 4
#6
Comments
What version of Ubuntu?
Also, are all the required binaries there? (
https://github.com/ryandaniels/docker-script-find-latest-image-tag#requirements
)
|
I'm using Ubuntu 18.04.2. After I found jq was missing and installed it, I checked all of the other required items, and they're present. |
It's working for me on Ubuntu 18.04.5 with the latest version of docker.
Can you share output of these commands?
$ docker --version
Docker version 20.10.21, build baeda1f
$ jq --version
jq-1.5-1-a5b5cbe
$ grep -i desc /etc/*release
/etc/lsb-release:DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"
$ ./docker_image_find_tag.sh -n traefik -i 96c63a7d3e50 -f 1.7. -l 10 -v
Using IMAGE_NAME: traefik
Using REGISTRY: https://index.docker.io/v2
Error: No such image: 96c63a7d3e50
$ ./docker_image_find_tag.sh -n traefik -L
sha256:96c63a7d3e502fcbbd8937a2523368c22d0edd1788b8389af095f64038318834 -f
1.7. -l 10 -v
Using IMAGE_NAME: traefik
Using REGISTRY: https://index.docker.io/v2
Using Image ID Source:
sha256:96c63a7d3e502fcbbd8937a2523368c22d0edd1788b8389af095f64038318834
Found Total Tags: 861
Found Tags (after filtering): 226
Limiting Tags to: 10
Limit reached, consider increasing limit (-l [number]) or use more specific
filter (-f [text])
Found Tags:
v1.7.34-alpine
v1.7.34
v1.7.33-alpine
v1.7.33
v1.7.32-alpine
v1.7.32
v1.7.31-alpine
v1.7.31
v1.7.30-alpine
v1.7.30
...
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to use docker_image_find_tag.sh, and can't get it to work even with one of your examples:
I'm running this on a Windows 10 system, using Ubuntu via WSL 2.
At first the script failed because
jq
wasn't recognized, but once I installed that I couldn't get any further than the error above.The text was updated successfully, but these errors were encountered: