Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Docker container (from docker hub) not starting

Featured Replies

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

 

 

 

 

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

  • Author

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

 

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

  • Author

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.

  • Author

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

  • 1 year later...

I have the same probled :( anyone figured this out?

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.

  • 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 ?

  • 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".

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.