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.

Docker Questions

Featured Replies

I've done a lot of research on dockers. I understand how to create a custom image and I understand how to deploy a container now. However I do have a few questions.

 

1) Data

As best practice all data IE SQL tables, Configs, Etc should be stored "Outside the container"

 

2) Access

What would best practice be for SSHing into a container just to take a peek openssh something within unraid? Shouldn't be needed? WebUI ssh?

 

Thank you for any help it is appreciated.

  • Community Expert

1) Generally, you would store things outside the container if you need to easily access it from outside the container, or anything that requires a significant amount of storage.

 

2) docker exec -it dockername /bin/bash

1) Generally, you would store things outside the container if you need to easily access it from outside the container, or anything that requires a significant amount of storage.

Or if you want it to survive a complete reinstall of the docker.

1) Generally, you would store things outside the container if you need to easily access it from outside the container, or anything that requires a significant amount of storage.

Or if you want it to survive a complete reinstall of the docker.

Or switch from one maintainer's docker to another.

Or switch from one maintainer's docker to another.

 

That's not foolproof though as structures change between authors as do versions, although it's often possible if you do try, it's by no means guaranteed....

1) Generally, you would store things outside the container if you need to easily access it from outside the container, or anything that requires a significant amount of storage.

Or if you want it to survive a complete reinstall of the docker.

To expand upon this, there are times when it is necessary and/or wanted to recreate the docker.img file.  If any files (metadata, db, etc) are stored within the docker.img file then they will be lost when it is recreated.  If the metadata/db is stored outside the image, then the image can be recreated to your hearts content without worrying about anything - a simple download and everything is back the way it was.

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.