November 15, 20196 yr 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?
November 15, 20196 yr Author 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?
November 15, 20196 yr 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, 20196 yr by Squid
November 15, 20196 yr Author 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, 20196 yr by dgooglr
November 15, 20196 yr 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
November 15, 20196 yr Author 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/
November 15, 20196 yr Not following. Where are you trying the apt-get? within unRaid or within the VM?
November 15, 20196 yr Author 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
November 16, 20196 yr If you can't run apt within your VM, then you're going to have to research that within the Ubuntu forums.
Archived
This topic is now archived and is closed to further replies.