September 24, 2025Sep 24 How to run Plain Ubuntu/Alpine DockerCan get it to download an image but then it just quits. How do I get it to serve / have a console I can fiddle with & learn. Thanks
September 25, 2025Sep 25 Community Expert Do you want an ephemeral container (i.e. one that only exists while you are in it) or a long lived one that you can come back to? For something ephemeral you should be able to do something likedocker run --rm --it <other options> ubuntu:latest bashwhich i believe should start and drop you into the container, you can leave the container shell and exec back into it later but when you stop the container, or if you exit the initial shell it will be remoevd.For something longer lived you should do something like docker run -d <various options> -l net.unraid.docker.webui="bash" ubuntu:latest sleep infinityit should start a container which you can exec into or use the webui to open a console into.Note this is just of the top of my head, I havent had a chance to try these out yet.
September 25, 2025Sep 25 Author Thanks the 2nd one. Want to run an hourly python script in a self contained manor with some form of logging / uptime kuma.Think I am staring to get there. Should probably just build an image with everything in to deploy. Edited September 25, 2025Sep 25 by dopeytree
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.