slimtoolkit / slim

Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)
Apache License 2.0
19.49k stars 730 forks source link

docker-slim version shows some notification while checking version #49

Open thatsk opened 6 years ago

thatsk commented 6 years ago

root@node: ~/docker# docker-slim --version 2018/04/25 06:37:06 Couldn't set key CPE_NAME, no corresponding struct field found 2018/04/25 06:37:06 Couldn't set key , no corresponding struct field found 2018/04/25 06:37:06 Couldn't set key CENTOS_MANTISBT_PROJECT, no corresponding struct field found 2018/04/25 06:37:06 Couldn't set key CENTOS_MANTISBT_PROJECT_VERSION, no corresponding struct field found 2018/04/25 06:37:06 Couldn't set key REDHAT_SUPPORT_PRODUCT, no corresponding struct field found 2018/04/25 06:37:06 Couldn't set key REDHAT_SUPPORT_PRODUCT_VERSION, no corresponding struct field found 2018/04/25 06:37:06 Couldn't set key , no corresponding struct field found docker-slim version linux|Tetra|1.20|f79fefbb88486f9431fdae5c6f65155fb7b3d39b|2018-03-05_05:20:22AM (go1.10)

thatsk commented 6 years ago

i am using go version go1.8.3 linux/amd64 on my centos machine Docker version 17.12.0-ce, build c97c6d6

jamesz2011 commented 6 years ago

hello ,do u deal with this problem? l meet a problem ,u can see the picture: default

kcq commented 6 years ago

Thank you for the report! @jamesz2011 can you try running with the --debug and --show-clogs flags to get more information: docker-slim --debug build --show-clogs --http-probe your_image_info_here