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.

Properly Creating a Docker Container

Featured Replies

So I've got a grasp on the general idea of docker containers, and was working on creating one. I'm pretty sure that the way I'm going about it isn't really the right way.

 

I'm trying to create a docker container for the protonmail bridge, since i wasn't able to find one that'd been updated recently.

 

What I'd done so far was create a docker from phusion/baseimage, and modify it to where I wanted it. I'd downloaded the .deb file for the bridge and installed all the packages it required, though i ended up using the command apt --fix-broken install, which I feel was incorrect to what I wanted. I got to the point where I was just working on configuring the bridge, but am thinking that I'm doing this incorrectly, since there's a ton of configuration.

 

What would be the approach to create a docker image without needing to do all this configuration inside the container itself? I'm pretty sure I shouldn't download the .deb file directly inside the container, but am not really sure how to make more complicated docker containers.

 

That pretty much how it's done. Its very tedious and time consuming getting things just right. But once you're done and pushed those changes as an image, then anyone else can use it too.

 

Docker has tutorials on creating images, such as using the dockerfile and docker commands and then pushing/committing the resulting image to its hub.

 

For configuration ... In this situation you need to work out how to externalize the changes to a single file. If not a single file then maybe an entire directory. Deal with that with volumn mappings to externalize it.

 

If that's not possible then you need to make your own script or program system to process from a single file or maybe docker environment variables/parameters. Then on every docker startup, your image processes the file and makes adjustments as needed inside the image.

 

 

  • Author

Alrighty, thanks for the helpful information

  • 2 weeks later...

Just curious if you ever got this working? id really like to get this working too.

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.