dlandon Posted July 14, 2017 Share Posted July 14, 2017 I am creating a Docker to be command line only (I'll explain later). There will not be any Docker GUI. How can I get into the Docker from the unRAID Docker GUI just like going to the Docker GUI by clicking on the icon? I don't want to go to a command line and do the docker exec thing. Any of you Docker gurus out there got any ideas? Quote Link to comment
saarg Posted July 14, 2017 Share Posted July 14, 2017 Only option is to exec into it. You could use the command line plugin so it's all in the gui. Might be you could add the ut to the plugin in the webgui field. Quote Link to comment
Squid Posted July 14, 2017 Share Posted July 14, 2017 If any commands, etc have to be interactive, then docker exec is it. If its not interactive, then user.scripts Quote Link to comment
dlandon Posted July 14, 2017 Author Share Posted July 14, 2017 4 hours ago, saarg said: Only option is to exec into it. You could use the command line plugin so it's all in the gui. Might be you could add the ut to the plugin in the webgui field. What is the command line plugin? Quote Link to comment
dlandon Posted July 14, 2017 Author Share Posted July 14, 2017 2 hours ago, Squid said: If any commands, etc have to be interactive, then docker exec is it. If its not interactive, then user.scripts It is interactive. Quote Link to comment
Squid Posted July 14, 2017 Share Posted July 14, 2017 (edited) 2 minutes ago, dlandon said: What is the command line plugin? look in CA. Gives you the ability to hit the command line via your browser. Edited July 14, 2017 by Squid Quote Link to comment
dlandon Posted July 17, 2017 Author Share Posted July 17, 2017 I managed to get this working with a GUI by installing shell in a box in the Docker and setting up a user with sudo privileges so they can log in and have root privileges. I also set up the user's home directory to where the programs are located. Works just like I want. I had to set up a special user because you can't log into a Docker as root. Quote Link to comment
Recommended Posts
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.