regel / loudml

Loud ML is the first open-source AI solution for ICT and IoT automation
Other
298 stars 93 forks source link

Docker loudml/chronograf:nightly does not run, latest does run #529

Open joriws opened 3 years ago

joriws commented 3 years ago

The title says it all..

when I run :latest docker run -it --entrypoint /bin/sh loudml/chronograf:latest / # /usr/bin/chronograf INFO[0000] Running migration 59b0cda4fc7909ff84ee5c4f9cb4b655b6a26620 INFO[0000] Serving chronograf at http://[::]:8888 component=server INFO[0000] Reporting usage stats component=usage freq=24h reporting_addr=https://usage.influxdata.com stats=os,arch,version,cluster_id,uptime ^CERRO[0001] shutdown initiated INFO[0001] Stopped serving chronograf at http://[::]:8888 component=server

And stock nightly / # [root@na000teleflow1 docker-commands]# docker run -it --entrypoint /bin/sh loudml/chronograf:nightly / # /usr/bin/chronograf /bin/sh: /usr/bin/chronograf: not found

docker pull is done without trick, just docker pull loudml/chronograf:nightly

I pulled nightly because there seems to be some issues between loudml:latest and chronograf:latest, whatever I do I cannot get them train data from InfluxDB 1.8.1. So I am trying to run both on nightly.

joriws commented 3 years ago

If I run nightly without entrypoint I just get error: standard_init_linux.go:190: exec user process caused "no such file or directory"

joriws commented 3 years ago

`

docker image inspect loudml/chronograf:nightly

[ { "Id": "sha256:c2a8915e99da2ce55d1791bf3b0cd35ab9908b7f4805018a2c04b3552de31ed7", "RepoTags": [ "loudml/chronograf:nightly", "localhost:5000/myloudml/chronograf:latest" ], "RepoDigests": [ "loudml/chronograf@sha256:0afb48794ed61ce193e94f77cf84d70630fabc9f0d459610557d98eeb0871bf2", "localhost:5000/myloudml/chronograf@sha256:6db34502cbd38030819a47256cc9461a6d661725cc49868c747802e312e0778b" ], "Parent": "", "Comment": "", "Created": "2020-01-22T20:45:44.6530896Z", "Container": "8bc540d34b9831a33fec0709d9d1cb32947ff20e9335ad38d9f6a9b4c9102d34", "ContainerConfig": { "Hostname": "ec133546ab8a", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "ExposedPorts": { "8888/tcp": {} }, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "BUILDDIR=/app/src/github.com/influxdata/chronograf" ], "Cmd": [ "/bin/sh", "-c", "#(nop) ", "CMD [\"/usr/bin/chronograf\" \"-b\" \"/var/lib/chronograf/chronograf-v1.db\" \"-c\" \"/usr/share/chronograf/canned\"]" ], "ArgsEscaped": true, "Image": "sha256:0105cbe57b8e92ff668ef0f09dcd3fb3c8c2b5e36e589879635cce059ef4c469", "Volumes": { "/usr/share/chronograf": {}, "/var/lib/chronograf": {} }, "WorkingDir": "", "Entrypoint": null, "OnBuild": [], "Labels": {} }, "DockerVersion": "17.09.0-ce", "Author": "Sebastien Leger sebastien@loudml.io", "Config": { "Hostname": "ec133546ab8a", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "ExposedPorts": { "8888/tcp": {} }, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "BUILDDIR=/app/src/github.com/influxdata/chronograf" ], "Cmd": [ "/usr/bin/chronograf", "-b", "/var/lib/chronograf/chronograf-v1.db", "-c", "/usr/share/chronograf/canned" ], "ArgsEscaped": true, "Image": "sha256:0105cbe57b8e92ff668ef0f09dcd3fb3c8c2b5e36e589879635cce059ef4c469", "Volumes": { "/usr/share/chronograf": {}, "/var/lib/chronograf": {} }, "WorkingDir": "", "Entrypoint": null, "OnBuild": [], "Labels": {} }, "Architecture": "amd64", "Os": "linux", "Size": 46471193, "VirtualSize": 46471193, "GraphDriver": { "Data": { "DeviceId": "11411", "DeviceName": "docker-253:12-805593893-a4857feee3f594949ef8e044bff033ee539d85268411d367374c788990bd14ea", "DeviceSize": "10737418240" }, "Name": "devicemapper" }, "RootFS": { "Type": "layers", "Layers": [ "sha256:cf7ebeb7d5da1dd2b71e4fa11344230d886e5c77e131491d06730f6728c05bbe", "sha256:550959cd3286fced0ad36e8e125b6e7c644ab6b229f9fbb12383a1d76d4c3766", "sha256:5dee182c5130752e02a010e6e1007f65df1a5aa8b87ed2b1fc467c05e66836f8", "sha256:e85642d3c13355301e9562b68fb8bc47d8d66b6f628d8975c0ac7c0c41ff5bc8", "sha256:56b050aec532e8de6742db33e58757c2e2f8f2ce3c00b27e9ab34930f0c0c35b", "sha256:19f79165d72b28e35c744476a0032a27bc97b0f9fd00ffa473a75984bd9e5e36", "sha256:a7f576d80d07c0ebfe9733dd6fd71481282f07aa89591de320da99cc96a6a8e5" ] }, "Metadata": { "LastTagTime": "2021-01-27T12:11:04.116715402Z" } } ] `