Jack_T Posted December 23, 2020 Share Posted December 23, 2020 I can't understand (and I really don't find) how to keep a "empty" container running... in the specific I try to use "ubuntu" from Docker Hub. in CA with Docker Hub results option on enabled: I search "Ubuntu" and select the first one (from Docker Hub)... the basic ubuntu image... if I click on START and after a few seconds come back to STOPPED. How to keep it running? I know it's normal that an empty container end immediatly... but on "normal" docker I use this to attach to bash and keep it running: docker run -it ubuntu /bin/bash docker attach dockerID docker exec -it container bash or for example I can use "sleep" to keep alive for x seconds: docker run ubuntu sleep 10 I can't understand how to pass those parameters by Unraid interface... I try in Advance mode... but no way.... so I try to made all by Unraid CLI... docker run -it ubuntu /bin/bash this create a new container with a random name... it's a perfectly working container! stay alive... and have his working console... but it is without [Edit] option in the menu... and have some issues... so I think it isn't the best way!!!! So the question is... If I want a basic "ubuntu" container from Docker Hub how can I keep it running? (so I can enter in the console and work on it?) Thank you in advance Unraid Version 6.8.3 no particolar log to attach here... Quote Link to comment
Jack_T Posted December 24, 2020 Author Share Posted December 24, 2020 I don't know why doesn't work first time... but the way I think is: 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.