Jump to content
Sign in to follow this  
thomaslc66

Docker container (from docker hub) not starting

6 posts in this topic Last Reply

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

 

 

 

 

Share this post


Link to post

Edit the template, make a change (any change), revert it and hit Apply.  The docker run command will appear and will have the error(s) as to why the container won't start

Share this post


Link to post

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

 

Share this post


Link to post

Then the docker itself is stopping.  Might be an answer in the logs for it

Share this post


Link to post

if docker is stopping this would impact my other container ? Because all my other container are started and doesn't seems to be impacted, no reboot.

 

plus when i start a new docker container all from the command line, this container is running.

Share this post


Link to post

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

Share this post


Link to post

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.

Sign in to follow this