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 keep started the right way

Featured Replies

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

 

  • Author

I don't know why doesn't work first time... but the way I think is:

 

image.png.c558944c3ed346fb66d111401e9db9cc.png

 

image.png.c66b411f2170021f5abf14db53c1fec4.png

Archived

This topic is now archived and is closed to further replies.

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.