Docker Ubuntu Image failed to start | General docker logs question

kian1991

Cadet
Joined
Feb 15, 2021
Messages
4
So I recently decided to switch to scale and its amazing! I would love to get a ubuntu container up and running, when I try to deploy over the webUI it immediatly dies with this messages in doecker events:

Code:
2021-05-13T09:44:35.656652844+02:00 container start 70c5213476aeb9d14d315caec077421a4f62e9874ea6ec5e86efdeea3b9eb1ef (annotation.io.kubernetes.container.hash=e15331c6, annotation.io.kubernetes.container.restartCount=5, annotation.io.kubernetes.container.terminationMessagePath=/dev/termination-log, annotation.io.kubernetes.container.terminationMessagePolicy=File, annotation.io.kubernetes.pod.terminationGracePeriod=30, image=sha256:7e0aa2d69a153215c790488ed1fcec162015e973e49962d438e18249d16fa9bd, io.kubernetes.container.logpath=/var/log/pods/ix-ubuntu_ubuntu-ix-chart-7855f78cf9-5csbx_c0c6d6dd-af04-4352-ae3c-0255f556891a/ix-chart/5.log, io.kubernetes.container.name=ix-chart, io.kubernetes.docker.type=container, io.kubernetes.pod.name=ubuntu-ix-chart-7855f78cf9-5csbx, io.kubernetes.pod.namespace=ix-ubuntu, io.kubernetes.pod.uid=c0c6d6dd-af04-4352-ae3c-0255f556891a, io.kubernetes.sandbox.id=87a29e0ca9a738f8558640779e42567dea46a787b8d66e8173ffa02a5ce21142, name=k8s_ix-chart_ubuntu-ix-chart-7855f78cf9-5csbx_ix-ubuntu_c0c6d6dd-af04-4352-ae3c-0255f556891a_5)
2021-05-13T09:44:35.698886191+02:00 container die 70c5213476aeb9d14d315caec077421a4f62e9874ea6ec5e86efdeea3b9eb1ef (annotation.io.kubernetes.container.hash=e15331c6, annotation.io.kubernetes.container.restartCount=5, annotation.io.kubernetes.container.terminationMessagePath=/dev/termination-log, annotation.io.kubernetes.container.terminationMessagePolicy=File, annotation.io.kubernetes.pod.terminationGracePeriod=30, exitCode=0, image=sha256:7e0aa2d69a153215c790488ed1fcec162015e973e49962d438e18249d16fa9bd, io.kubernetes.container.logpath=/var/log/pods/ix-ubuntu_ubuntu-ix-chart-7855f78cf9-5csbx_c0c6d6dd-af04-4352-ae3c-0255f556891a/ix-chart/5.log, io.kubernetes.container.name=ix-chart, io.kubernetes.docker.type=container, io.kubernetes.pod.name=ubuntu-ix-chart-7855f78cf9-5csbx, io.kubernetes.pod.namespace=ix-ubuntu, io.kubernetes.pod.uid=c0c6d6dd-af04-4352-ae3c-0255f556891a, io.kubernetes.sandbox.id=87a29e0ca9a738f8558640779e42567dea46a787b8d66e8173ffa02a5ce21142, name=k8s_ix-chart_ubuntu-ix-chart-7855f78cf9-5csbx_ix-ubuntu_c0c6d6dd-af04-4352-ae3c-0255f556891a_5)
2021-05-13T09:44:36.317636265+02:00 container destroy 5477f4115a079774bab8bb3587e6f2be1334c8d2ae125b10fb4b852cb256f526 (annotation.io.kubernetes.container.hash=e15331c6, annotation.io.kubernetes.container.restartCount=4, annotation.io.kubernetes.container.terminationMessagePath=/dev/termination-log, annotation.io.kubernetes.container.terminationMessagePolicy=File, annotation.io.kubernetes.pod.terminationGracePeriod=30, image=sha256:7e0aa2d69a153215c790488ed1fcec162015e973e49962d438e18249d16fa9bd, io.kubernetes.container.logpath=/var/log/pods/ix-ubuntu_ubuntu-ix-chart-7855f78cf9-5csbx_c0c6d6dd-af04-4352-ae3c-0255f556891a/ix-chart/4.log, io.kubernetes.container.name=ix-chart, io.kubernetes.docker.type=container, io.kubernetes.pod.name=ubuntu-ix-chart-7855f78cf9-5csbx, io.kubernetes.pod.namespace=ix-ubuntu, io.kubernetes.pod.uid=c0c6d6dd-af04-4352-ae3c-0255f556891a, io.kubernetes.sandbox.id=87a29e0ca9a738f8558640779e42567dea46a787b8d66e8173ffa02a5ce21142, name=k8s_ix-chart_ubuntu-ix-chart-7855f78cf9-5csbx_ix-ubuntu_c0c6d6dd-af04-4352-ae3c-0255f556891a_4)


And thats the only stuff I get as the logs at /var/log/pods/ix-[...]a/ix-chart/4.log are empty.

When I start the image with:

docker run -it -d ubuntu

via SSH it totally works and I am able to attach (but no network inside the container).

Is there any location to find error messages happening during the init of container?Someone able to run ubuntu or debian image at all?

Greetings


Kian
 
Top