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.

[SOLVED] docker run -u some_other_user

Featured Replies

Hi, I created docker template for jenkins official docker hub.

 

I am trying to figure out how to define user in docker template,

docker command has option "-u":

e.g.

docker run -p 8080:8080 -p 50000:50000 -v /your/home:/var/jenkins_home jenkins[b] -u username[/b]

 

any ideas how to define it in docker template XML,

 

i dont know all tags of docker template schema therefore im no sure.

Hi, I created docker template for jenkins official docker hub.

 

I am trying to figure out how to define user in docker template,

docker command has option "-u":

e.g.

docker run -p 8080:8080 -p 50000:50000 -v /your/home:/var/jenkins_home jenkins[b] -u username[/b]

 

any ideas how to define it in docker template XML,

 

i dont know all tags of docker template schema therefore im no sure.

use the extra parameters

 

  • Author

Hi, I created docker template for jenkins official docker hub.

 

I am trying to figure out how to define user in docker template,

docker command has option "-u":

e.g.

docker run -p 8080:8080 -p 50000:50000 -v /your/home:/var/jenkins_home jenkins[b] -u username[/b]

 

any ideas how to define it in docker template XML,

 

i dont know all tags of docker template schema therefore im no sure.

use the extra parameters

 

Example please ? whats the exact name of the tag and where exactly should be nested in XML?

thx

  • Community Expert

Hi, I created docker template for jenkins official docker hub.

 

I am trying to figure out how to define user in docker template,

docker command has option "-u":

e.g.

docker run -p 8080:8080 -p 50000:50000 -v /your/home:/var/jenkins_home jenkins[b] -u username[/b]

 

any ideas how to define it in docker template XML,

 

i dont know all tags of docker template schema therefore im no sure.

use the extra parameters

 

Example please ? whats the exact name of the tag and where exactly should be nested in XML?

thx

No need to tinker with the XML and usually best to avoid that approach. Turn on Advanced View in the upper right of the Add Container page.

Hi, I created docker template for jenkins official docker hub.

 

I am trying to figure out how to define user in docker template,

docker command has option "-u":

e.g.

docker run -p 8080:8080 -p 50000:50000 -v /your/home:/var/jenkins_home jenkins[b] -u username[/b]

 

any ideas how to define it in docker template XML,

 

i dont know all tags of docker template schema therefore im no sure.

use the extra parameters

 

Example please ? whats the exact name of the tag and where exactly should be nested in XML?

thx

Don't go and try to modify the XML yourself.  (Too much possibility for errors ->  Also safest to ignore everything Limetech has in the wiki on the XML schema.  The best information is in the Programming Forum)  Do everything through the Add Template page.  Hit Advanced.
  • Author

Hi, I created docker template for jenkins official docker hub.

 

I am trying to figure out how to define user in docker template,

docker command has option "-u":

e.g.

docker run -p 8080:8080 -p 50000:50000 -v /your/home:/var/jenkins_home jenkins[b] -u username[/b]

 

any ideas how to define it in docker template XML,

 

i dont know all tags of docker template schema therefore im no sure.

use the extra parameters

 

Example please ? whats the exact name of the tag and where exactly should be nested in XML?

thx

Don't go and try to modify the XML yourself.  (Too much possibility for errors ->  Also safest to ignore everything Limetech has in the wiki on the XML schema.  The best information is in the Programming Forum)  Do everything through the Add Template page.  Hit Advanced.

 

Man, i'm software dev not noob.

 

Instead of these talks you could just send me XML or XML schema, I tried to google that schema but i cannot find correct link...

 

Please can you help ?

Hi, I created docker template for jenkins official docker hub.

 

I am trying to figure out how to define user in docker template,

docker command has option "-u":

e.g.

docker run -p 8080:8080 -p 50000:50000 -v /your/home:/var/jenkins_home jenkins[b] -u username[/b]

 

any ideas how to define it in docker template XML,

 

i dont know all tags of docker template schema therefore im no sure.

use the extra parameters

 

Example please ? whats the exact name of the tag and where exactly should be nested in XML?

thx

Don't go and try to modify the XML yourself.  (Too much possibility for errors ->  Also safest to ignore everything Limetech has in the wiki on the XML schema.  The best information is in the Programming Forum)  Do everything through the Add Template page.  Hit Advanced.

 

Man, i'm software dev not noob.

 

Instead of these talks you could just send me XML or XML schema, I tried to google that schema but i cannot find correct link...

 

Please can you help ?

http://lime-technology.com/forum/index.php?topic=40299.0  and http://lime-technology.com/wiki/index.php/DockerTemplateSchema  But neither myself nor trurl want you to do this.  Trust me.  I spend a lot of time when a new maintainer creates a repo fixing their mistakes...

 

This is the proper way to make the xml is this:  http://lime-technology.com/forum/index.php?topic=40937.msg486569#msg486569  (also enable template authoring mode in settings - docker)

  • Author

Hi, I created docker template for jenkins official docker hub.

 

I am trying to figure out how to define user in docker template,

docker command has option "-u":

e.g.

docker run -p 8080:8080 -p 50000:50000 -v /your/home:/var/jenkins_home jenkins[b] -u username[/b]

 

any ideas how to define it in docker template XML,

 

i dont know all tags of docker template schema therefore im no sure.

use the extra parameters

 

Example please ? whats the exact name of the tag and where exactly should be nested in XML?

thx

Don't go and try to modify the XML yourself.  (Too much possibility for errors ->  Also safest to ignore everything Limetech has in the wiki on the XML schema.  The best information is in the Programming Forum)  Do everything through the Add Template page.  Hit Advanced.

 

Man, i'm software dev not noob.

 

Instead of these talks you could just send me XML or XML schema, I tried to google that schema but i cannot find correct link...

 

Please can you help ?

http://lime-technology.com/forum/index.php?topic=40299.0  and http://lime-technology.com/wiki/index.php/DockerTemplateSchema  But neither myself nor trurl want you to do this.  Trust me.  I spend a lot of time when a new maintainer creates a repo fixing their mistakes...

 

This is the proper way to make the xml is this:  http://lime-technology.com/forum/index.php?topic=40937.msg486569#msg486569  (also enable template authoring mode in settings - docker)

 

Thank you very much !

 

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.