dgooglr Posted November 15, 2019 Share Posted November 15, 2019 Hi, So im all set with unraid and it works great. I just installed Nginx and I’m able to see the page etc. however I would like to test out react and especially Gatsby js. I’m struggling to understand how I can do that without SSH. (as im not able to ssh into that docker container) Can anyone explain it to me please? Quote Link to comment
Squid Posted November 15, 2019 Share Posted November 15, 2019 or alternatively, ssh into your server, then docker exec -it nginx /bin/bash Quote Link to comment
dgooglr Posted November 15, 2019 Author Share Posted November 15, 2019 3 minutes ago, Squid said: or alternatively, ssh into your server, then docker exec -it nginx /bin/bash Ok thanks. So first of all if I access it from web gui then none of my normal commands will work like: sudo apt-get update etc? Same if I ssh into my unraid server and use that command, Im not able to use apt-get etc. Any pointers here? Quote Link to comment
Squid Posted November 15, 2019 Share Posted November 15, 2019 (edited) Then apt-get is not installed in the container, and you will have to either install it yourself somehow or talk to the maintainers of it and see if they won't add it in. (or switch to a VM) Should be noted however that any changes etc you make inside a container will not survive any updates to the container. Edited November 15, 2019 by Squid Quote Link to comment
dgooglr Posted November 15, 2019 Author Share Posted November 15, 2019 (edited) Ok, that explains that. So I have now set up ubuntu in a VM, but when I use the console in the web gui, it doesnt give me many commands. so same issue here with the apt-get command. Any ideas what I need to do here? Ideally I would just use remote desktop connection on my windows laptop to access it, but that gives me an error so im not able to do that. Edited November 15, 2019 by dgooglr Quote Link to comment
Squid Posted November 15, 2019 Share Posted November 15, 2019 2 minutes ago, dgooglr said: when I use the console in the web gui, it doesnt give me many commands. so same issue here with the apt-get command. Any ideas what I need to do here? If you're talking about the unRaid console, then unRaid doesn't include apt-get, and is based on slackware which doesn't use apt as a package manager. Think of the base OS as something more akin to an appliance than to a full *nix install Quote Link to comment
dgooglr Posted November 15, 2019 Author Share Posted November 15, 2019 So in order to use the VM how would I go about installing apt-get for example? basically I want to install: https://www.gatsbyjs.org/ Quote Link to comment
Squid Posted November 15, 2019 Share Posted November 15, 2019 Not following. Where are you trying the apt-get? within unRaid or within the VM? Quote Link to comment
dgooglr Posted November 15, 2019 Author Share Posted November 15, 2019 Trying to run it inside of the VM, as im a newbie I just want to try it out and if I mess things up then I could simply remove the VM. really want to clutter my unraid box.. Then it is more tempting to just get a rpi 4 and hack on that.. but seems a bit overkill to go that route Quote Link to comment
Squid Posted November 16, 2019 Share Posted November 16, 2019 If you can't run apt within your VM, then you're going to have to research that within the Ubuntu forums. 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.