Reproduce:
Have a docker, with a variable, its a text that includes some pipe symbols and it should be passed 1-on-1 to the docker, e.g.
username|password|/home/username
The docker i was trying to use and requires this syntax is https://hub.docker.com/r/delfer/alpine-ftp-server
Problems/bugs seen:
- The UI made the default value into a dropdown with 3 options. This was not desired.
- The UI forgot the value because it included the pipe symbol as well.
Things i tried:
So i went looking for how to escape this pipe symbol, tried these but it didnt work:
username||password||/home/username username\|password\|/home/username "username|password|/home/username" 'username|password|/home/username'
And went into the documentation starting with the link on the Docker Edit page.
All i found was this "TBD" section comment on environment variables, but no explanation on regular variables.
https://wiki.unraid.net/Manual/Docker_Management#Environment_Variables
Seems like a bug.
Or did i miss something?
Either there already is a way to escape or encode this symbol in a string value, then please update documentation. Regardless in the docker edit page (UI dropdown feature) there is some flaw in processing this, because it forgets my value if it contains a | symbol.
-
1
Recommended Comments
There are no comments to display.
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.