thomaslc66 Posted August 13, 2019 Share Posted August 13, 2019 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: 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 the container try to start and then stop. (here you can see up time = 1 sec) Log is totally empty. 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. But even with bridge the docker container from docker hub is not booting up. Thank you in advance for all your future advice and time. Maybe someone already experienced this behavior. Unraid 6.7.2 Basic Quote Link to comment
Squid Posted August 13, 2019 Share Posted August 13, 2019 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 Quote Link to comment
thomaslc66 Posted August 14, 2019 Author Share Posted August 14, 2019 I've edited the template with GUI, hit apply. 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 Before it was showign uptime. Syslog are showing this: Really wierd. No clue what's happening. Thanks for your answer by the way Quote Link to comment
Squid Posted August 14, 2019 Share Posted August 14, 2019 Then the docker itself is stopping. Might be an answer in the logs for it Quote Link to comment
thomaslc66 Posted August 16, 2019 Author Share Posted August 16, 2019 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. Quote Link to comment
thomaslc66 Posted August 16, 2019 Author Share Posted August 16, 2019 I've been running two same container 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 Quote Link to comment
Holdlang Posted April 13, 2021 Share Posted April 13, 2021 I have the same probled anyone figured this out? Quote Link to comment
Squid Posted April 14, 2021 Share Posted April 14, 2021 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 Quote Link to comment
jgcb00 Posted August 25, 2022 Share Posted August 25, 2022 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 ? Quote Link to comment
peXed Posted November 28, 2023 Share Posted November 28, 2023 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". Quote Link to comment
Recommended Posts
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.