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.

SSH into Nginx docker

Featured Replies

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?

image.png.06edef32251f8cad3176c75f18830fe6.png

 

or alternatively, ssh into your server, then

 

docker exec -it nginx /bin/bash

 

  • Author
3 minutes ago, Squid said:

image.png.06edef32251f8cad3176c75f18830fe6.png

 

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?

 

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 by Squid

  • 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 by dgooglr

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

  • 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/

 

Not following.

 

Where are you trying the apt-get?  within unRaid or within the VM?

  • 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 :)

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.

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.