Docker container (from docker hub) not starting


Recommended Posts

Hello,

 

i'm quite new to unraid, but know a bit how docker works.

I wanted to use clean docker image so i installed the community plugin and enabled the docker hub search option. 

 

I've set my docker settings like this: 

image.thumb.png.713a21955f4d41353891ba18b40d4ccf.png

 

Then i downloaded a ubuntu image from docker hub.

 

What i've tried was first to use bridge for network opening port 22 on container mapping it to a custom port on the host.

Then using custom br0 mapping port 22 also too custom port.

And at the end setting network to none and adding extra parameters to --network br0

 

But none of those parameters let me start the container. When i click on start

image.thumb.png.5adaf59a734571e1292885237337b86d.png

 

the container try to start and then stop. (here you can see up time = 1 sec)

Log is totally empty. 

 

image.png.c3562b96ce40b4816ef75491233cd71f.png

 

Really need help on this, as i don't know why could cause this behavior. 

Docker is working as my other app in bridge is working fine.

image.png.0c071f58135426757825a6d9fedb5352.png

 

But even with bridge the docker container from docker hub is not booting up.

image.thumb.png.7358e4c483d2ea311f224d1472a5634b.png

 

Thank you in advance for all your future advice and time.

Maybe someone already experienced this behavior. 

Unraid 6.7.2 Basic

 

 

 

 

Link to comment

I've edited the template with GUI, hit apply.

image.thumb.png.61b7768c2d3ece6887aa65faeca0985d.png

 

Then this widows shows, and nothing else. But when i try to start, still nothing. No log, even with the command "docker logs ubuntu" nothing.

The only news is that now it shows 

 

image.png.40813aca84c694dacaadf55ccb06ab65.png

 

Before it was showign uptime.

 

Syslog are showing this:

 

image.thumb.png.0e391f007450ce580ea7be2b32f7f35d.png

 

Really wierd. No clue what's happening.

Thanks for your answer by the way

 

Link to comment

I've been running two same container

 

image.thumb.png.bfe175826003e36932ae5eae4e937052.png

 

first one 97596.... was created through GUI. ( NOT WORKING )

second one d443b.... was created through command line. ( WORKING )

 

i think the problem comes from the COMMAND, the GUI created container add ubuntu at the end of the command.

Why those unraid do that and how can i change this ?

Is it possible for somebody if it's only me or this behaviour is the same on all unraid 6.7.2 ?

 

Thanks

Link to comment
  • 1 year later...
  • 1 year later...

Hi,
I have exactly the same issue.

With very simple docker like ubuntu, debian, python with no option except using bash, the installation go smoothly but as soon as I try to start it, it goes down without error message neither in log of the docker, nothing.

But when I run it from the command line, it goes perfectly...

Any idea why ? And how to fix it ?

Link to comment
  • 1 year later...
On 4/14/2021 at 5:12 AM, Squid said:

Assuming it's the same container,

docker run -it -d ubuntu

 

It's a command line only container and needs to be run like that.

 

I had the same "problem" and that fixed it for me.

 

If somebody else has this issue:

Simply setup everything as before, switch to "Advanced View", and input "-it -d" into "Extra Parameters".

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.