Open smadds opened 4 years ago
@smadds Can you try docker logs -f <CONTAINER>
? You can get the container by typing docker ps
.
Once you get it running, you could post your docker-compose modifications here so that he can add it quicker (I did this for motion-eye).
Thanks for your help, @Slyke
I think the container (jumanjiman/tftp-hpa:latest) fails while starting, I just see 2 entries in the filtered log:
standard_init_linux.go:211: exec user process caused "exec format error" standard_init_linux.go:211: exec user process caused "exec format error"
Below is the fuller Portainer Inspect tree:
{ "AppArmorProfile": "", "Args": [ "-L", "--verbose", "-m", "/tftpboot/mapfile", "-u", "tftp", "--secure", "/tftpboot" ], "Config": { "AttachStderr": false, "AttachStdin": false, "AttachStdout": false, "Cmd": [ "-L", "--verbose", "-m", "/tftpboot/mapfile", "-u", "tftp", "--secure", "/tftpboot" ], "Domainname": "", "Entrypoint": [ "/usr/sbin/start" ], "Env": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ], "ExposedPorts": { "69/tcp": {}, "69/udp": {} }, "Hostname": "5d6a91bd548d", "Image": "jumanjiman/tftp-hpa:latest", "Labels": { "io.github.jumanjiman.build-date": "20190420T1708", "io.github.jumanjiman.ci-build-url": "https://circleci.com/gh/jumanjihouse/docker-tftp-hpa/46", "io.github.jumanjiman.docker.dockerfile": "/src/Dockerfile", "io.github.jumanjiman.license": "MIT", "io.github.jumanjiman.vcs-ref": "6cccea7", "io.github.jumanjiman.vcs-type": "Git", "io.github.jumanjiman.vcs-url": "https://github.com/jumanjihouse/docker-tftp-hpa.git", "io.github.jumanjiman.version": "6.04_pre1-r2" }, "OnBuild": null, "OpenStdin": false, "StdinOnce": false, "Tty": false, "User": "", "Volumes": { "/tftpboot": {} }, "WorkingDir": "" }, "Created": "2019-12-04T08:00:06.181884811Z", "Driver": "overlay2", "ExecIDs": null, "GraphDriver": { "Data": { "LowerDir": "/var/lib/docker/overlay2/e083049eb68e4b633e7ad3188fb30c8fc487ec3cae37b8dd8dd613a56ac06d80-init/diff:/var/lib/docker/overlay2/16c12bdf4466496c8467a5ef3f5e56346bf73136fd207c9a756778f53090df38/diff:/var/lib/docker/overlay2/ec15a0eb5fc16cb6ebedee9577cc7f121761500cafe6a20ea97044ff0726d428/diff:/var/lib/docker/overlay2/9b41bf0f9b4de77dbd92a497511652fb087d5208221ce6463723dc85442b8a73/diff:/var/lib/docker/overlay2/7f73726f37769694d93f461b0f107e33660447f7cd4ad1ee91c311daeab18130/diff:/var/lib/docker/overlay2/6882e425884cfa70269530e5c4756d66e26da9370bcc5a04cd73d59eda4cd21c/diff:/var/lib/docker/overlay2/8f94ba1461d3487b7888c2e9cd822c2087b2ba3870a15779f0360dba68f9cbbf/diff:/var/lib/docker/overlay2/ff279ac2f2e1d9b04e8aa83da06667b274dfd5d74dcb09b86558339af69be826/diff", "MergedDir": "/var/lib/docker/overlay2/e083049eb68e4b633e7ad3188fb30c8fc487ec3cae37b8dd8dd613a56ac06d80/merged", "UpperDir": "/var/lib/docker/overlay2/e083049eb68e4b633e7ad3188fb30c8fc487ec3cae37b8dd8dd613a56ac06d80/diff", "WorkDir": "/var/lib/docker/overlay2/e083049eb68e4b633e7ad3188fb30c8fc487ec3cae37b8dd8dd613a56ac06d80/work" }, "Name": "overlay2" }, "HostConfig": { "AutoRemove": false, "Binds": [], "BlkioDeviceReadBps": null, "BlkioDeviceReadIOps": null, "BlkioDeviceWriteBps": null, "BlkioDeviceWriteIOps": null, "BlkioWeight": 0, "BlkioWeightDevice": null, "CapAdd": [ "AUDIT_WRITE", "CHOWN", "DAC_OVERRIDE", "FOWNER", "FSETID", "KILL", "MKNOD", "NET_BIND_SERVICE", "NET_RAW", "SETFCAP", "SETGID", "SETPCAP", "SETUID", "SYS_CHROOT" ], "CapDrop": [ "AUDIT_CONTROL", "BLOCK_SUSPEND", "DAC_READ_SEARCH", "IPC_LOCK", "IPC_OWNER", "LEASE", "LINUX_IMMUTABLE", "MAC_ADMIN", "MAC_OVERRIDE", "NET_ADMIN", "NET_BROADCAST", "SYSLOG", "SYS_ADMIN", "SYS_BOOT", "SYS_MODULE", "SYS_NICE", "SYS_PACCT", "SYS_PTRACE", "SYS_RAWIO", "SYS_RESOURCE", "SYS_TIME", "SYS_TTY_CONFIG", "WAKE_ALARM" ], "Capabilities": null, "Cgroup": "", "CgroupParent": "", "ConsoleSize": [ 0, 0 ], "ContainerIDFile": "", "CpuCount": 0, "CpuPercent": 0, "CpuPeriod": 0, "CpuQuota": 0, "CpuRealtimePeriod": 0, "CpuRealtimeRuntime": 0, "CpuShares": 0, "CpusetCpus": "", "CpusetMems": "", "DeviceCgroupRules": null, "DeviceRequests": null, "Devices": [], "Dns": [], "DnsOptions": [], "DnsSearch": [], "ExtraHosts": [], "GroupAdd": null, "IOMaximumBandwidth": 0, "IOMaximumIOps": 0, "IpcMode": "private", "Isolation": "", "KernelMemory": 0, "KernelMemoryTCP": 0, "Links": null, "LogConfig": { "Config": {}, "Type": "json-file" }, "MaskedPaths": [ "/proc/asound", "/proc/acpi", "/proc/kcore", "/proc/keys", "/proc/latency_stats", "/proc/timer_list", "/proc/timer_stats", "/proc/sched_debug", "/proc/scsi", "/sys/firmware" ], "Memory": 0, "MemoryReservation": 0, "MemorySwap": 0, "MemorySwappiness": null, "NanoCpus": 0, "NetworkMode": "iotstack_default", "OomKillDisable": false, "OomScoreAdj": 0, "PidMode": "", "PidsLimit": null, "PortBindings": { "69/tcp": [ { "HostIp": "", "HostPort": "69" } ] }, "Privileged": false, "PublishAllPorts": false, "ReadonlyPaths": [ "/proc/bus", "/proc/fs", "/proc/irq", "/proc/sys", "/proc/sysrq-trigger" ], "ReadonlyRootfs": false, "RestartPolicy": { "MaximumRetryCount": 0, "Name": "no" }, "Runtime": "runc", "SecurityOpt": null, "ShmSize": 67108864, "UTSMode": "", "Ulimits": null, "UsernsMode": "", "VolumeDriver": "", "VolumesFrom": null }, "HostnamePath": "/var/lib/docker/containers/5d6a91bd548d519a58eb90f76399029ce1faec203c8b0d6102647612a5910c40/hostname", "HostsPath": "/var/lib/docker/containers/5d6a91bd548d519a58eb90f76399029ce1faec203c8b0d6102647612a5910c40/hosts", "Id": "5d6a91bd548d519a58eb90f76399029ce1faec203c8b0d6102647612a5910c40", "Image": "sha256:a2540e9e46657b8757e52d5267eb603cb4c2edf02bfac5990ed10bdcd012f980", "LogPath": "/var/lib/docker/containers/5d6a91bd548d519a58eb90f76399029ce1faec203c8b0d6102647612a5910c40/5d6a91bd548d519a58eb90f76399029ce1faec203c8b0d6102647612a5910c40-json.log", "MountLabel": "", "Mounts": [ { "Destination": "/tftpboot", "Driver": "local", "Mode": "", "Name": "c6baf8549a2a00a78c6ec99c8b59ec3899044ab2c3eb8c1e29eabfd0a07b7a01", "Propagation": "", "RW": true, "Source": "/var/lib/docker/volumes/c6baf8549a2a00a78c6ec99c8b59ec3899044ab2c3eb8c1e29eabfd0a07b7a01/_data", "Type": "volume" } ], "Name": "/tftp", "NetworkSettings": { "Bridge": "", "EndpointID": "", "Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "HairpinMode": false, "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "MacAddress": "", "Networks": { "iotstack_default": { "Aliases": [ "5d6a91bd548d" ], "DriverOpts": null, "EndpointID": "", "Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "IPAMConfig": {}, "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "Links": null, "MacAddress": "", "NetworkID": "37aa82934732d5ffe6d9dde03fe8a31087171e6042de237f84d7345cefdec789" } }, "Ports": {}, "SandboxID": "e9d2ba17bbe525212b5af13ba54014ce7158470669db634355b830e67c161e48", "SandboxKey": "/var/run/docker/netns/e9d2ba17bbe5", "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null }, "Path": "/usr/sbin/start", "Platform": "linux", "ProcessLabel": "", "ResolvConfPath": "/var/lib/docker/containers/5d6a91bd548d519a58eb90f76399029ce1faec203c8b0d6102647612a5910c40/resolv.conf", "RestartCount": 0, "State": { "Dead": false, "Error": "", "ExitCode": 1, "FinishedAt": "2019-12-11T08:44:31.437569635Z", "OOMKilled": false, "Paused": false, "Pid": 0, "Restarting": false, "Running": false, "StartedAt": "2019-12-11T08:44:31.439237389Z", "Status": "exited" } }
Hi Graham Would you consider adding a TFTP server to the build options?
For some reason if I try to add the container through Portainer (e.g. pghalliday/tftp or jumanjiman/tftp-hpa) they always stop after a second or 2.
Thanks