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.

Help Running Multiple Commands Within Docker Exec

Featured Replies

I am wanting to run multiple commands with a script that will update ports within a docker container.

 

Here is a sample of what I am trying to run:

docker exec -i deluge deluge-console (Now issue $1) (then issue $2) (then command $3)

$1=connect localhost user pass

$2=config --set random_port False

$3=config --set listen_ports (12345,12345)

 

Is it possible to do this with docker containers?

 

I can run these one by one within a ssh session. I think the main challenge is the deluge-console brings up a program and once the deluge-console screen is up it needs to run the 3 commands.

  • Author

Turns out just needed proper syntax for deluge-console

docker exec -i deluge deluge-console "connect localhost user pass; config --set random_port False; config --set listen_ports (12345,12345)"

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.