Passing commands/args to docker containers problems


Recommended Posts

So I have 2 containers that i need to be able to pass "commands" or "args" to the container at run time. If you look at the docs for docker run you see that there is part of the docker run to add a command and args to the run.

docs_command.thumb.png.7a59f6360ac4f01d1eda61bd073bbca2.png

 

 

With the way unraid has its docker ui setup, the only way to add them is to append them to the run command in the right spot is to add them to the "Repository" section when editing a docker container in the unraid ui.

unraid_ui.thumb.png.664cfdd1d83c4fe214db63097086f45c.png

 

Which looks like this when starting the container

real_commands.png

 

The problem with this is that it breaks the update process in unraid since it things that whole string is the image name.

 

unraid_update.thumb.png.1db4995b319e694a9611eeacce488ca0.png

 

Is this something that could be added to the UI to properly support commands/args????

 

 

Edited by BrandonS
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.