February 26, 20197 yr 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 February 26, 20197 yr by knex666
February 27, 20197 yr 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.
February 27, 20197 yr 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?
February 27, 20197 yr 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.