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.

Editing a docker container

Featured Replies

Hi,

 

I am using docker in unraid for a long time but there is one question I always ask myself.

If you have a container from CA or docker hub lets say mopidy and you find it very useful but you have to edit, append, install; something inside the container. How do you do this without loosing the state or beeing able to update from that original author.

So I installed mopidy and I "exec -it" into it to apt-get something and whatever. After it I "docker commit" the container to not loose its state. 

So it is my image but I've lost the support of the original author, right? because I am not able to click on update. It always says "update ready" but its not.

So the right way for my knowledge is to use a docker file with something like this:

 

FROM whhoesj/mopidy:latest 

USER root 

RUN pip install 

USER mopidy

 

but using unraid xml I am not able to create my own docker file, or am I missing something?

I hope you can help me to find a better way for my own/edited/updated containers.

 

Thanks!

Edited by knex666

I had a similar struggle with the existing splunk dockers that i needed to modify but lost my config every time mostly due to lack of understanding of dockers.
In the end i build a new dockerfile/image on my local macbook based on an existing one like you suggested as well and pushed it into docker hub.
Then you can add it to unraid like any normal docker.

  • Author

Pushing it to cocker hub is a good idea. The plan was to share my docker images and just putting it to docker hub seams smart.

Maybe a advanced question but - I am lazy and I dont want to update my docker all the time. will the updates of the underlaying image update my container?

if you install the CA auto update containers plugin it will. 

If you update (new build) on dockerhub, it will be auto updated on UnRaid.

Also try the integration between github and dockerhub. Super cool and you dont need to build localy.

You just push your changed Dockerfile to github, which is then detected by DockerHub and the connected Docker is then automaticaly build (typicaly slow, but works). Then unraid (depending on auto update schedule) will pick up the changed version . Smoooooooothhhhh

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.