jayarmstrong Posted February 5, 2019 Share Posted February 5, 2019 Howdy, I'm trying to get the stock Ubuntu (server) running as a docker. It seems to install fine but after hitting start, it just stops after about 5 seconds. The Unraid Docker log stays completely empty. I've removed the image and reinstalled it already. I'm open to suggestions! Quote Link to comment
Squid Posted February 5, 2019 Share Posted February 5, 2019 Not without seeing the generated docker run command, and the dockerHub page for the container Quote Link to comment
dee31797 Posted February 5, 2019 Share Posted February 5, 2019 You have to give the container something to do. If you just run "ubuntu:latest" and nothing else it will just stop right after start. Run this instead: docker run -ti --rm ubuntu bash Your unraid server will download the image, start a new container with a random name and then present you with a bash terminal prompt. Then proceed as normal, "apt update && apt install myfavapp" etc Quote Link to comment
Yakkai Posted October 14, 2022 Share Posted October 14, 2022 On 2/6/2019 at 5:04 AM, dee31797 said: You have to give the container something to do. If you just run "ubuntu:latest" and nothing else it will just stop right after start. Run this instead: docker run -ti --rm ubuntu bash Your unraid server will download the image, start a new container with a random name and then present you with a bash terminal prompt. Then proceed as normal, "apt update && apt install myfavapp" etc The answer really helps me! I am confused to the immediately stop for a week. 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.