Custom Docker Image
I've some questions about the custom docker image.
How do i create a custom image and use my image instead the one from the runtipi appstore? with the
user-config/docker-compose.yml
file?
Does the restart app button from the ui suppose to reload my config and apply my custom image?
So, my docker-compose.yml looks like the following:
9 Replies
How do i create a custom imageas i see, you already have your own image created and stored at docker hub (A) if your own image matches all / most of the default-tipi-vscode parameters, then you can go that way: https://runtipi.io/docs/guides/customize-app-config and use the your compose via user-config. your and the original compose file will get merged. (B) if your version of vscode has some conflicting settings with the tipi one, then it might be best to create your own app and install and use it from your own app store repo. this is probably the best method when using a custom image where the official tipi app store will not be able to provide automatic updates for the app then. https://runtipi.io/docs/contributing/adding-a-new-app in one of the next versions of runtipi, there will be the possibility to have more than one repository defined - so it will be more convenient to have a peronal app store repo next to the official one. I am doing (A) with freshrss, since the tipi verion from linuxserver image misses a feature. when the multi-app-repo version of tipi is published, i likely will switch to (B)
Runtipi
Runtipi - Homeserver management made easy
Free and open-source, Runtipi lets you install all your favorite self-hosted apps without the hassle of configuring and managing each service. One-click installs and updates for more than 80 popular apps.
Runtipi
Runtipi - Homeserver management made easy
Free and open-source, Runtipi lets you install all your favorite self-hosted apps without the hassle of configuring and managing each service. One-click installs and updates for more than 80 popular apps.
Thanks for prompt reply! much appreciated πββοΈ
I believe my custom docker image matches all the tipi vscode params because it extends from the base image which defines in the
runtipi-appstore
, and includes additional few cli commands such as lazygit and zsh.
However, the problem is, when I tried to restart my server, it doesn't seem to use my image at all.what does
docker inspect
show?
if you are using vscode (as app) you could use the docker extensions and have a look:Looks like it failed to start the image from the UI right now, but starting the app from
runtipi-cli
is working fine.
Here's the response from docker inspect command:
the point i was trying to make was to compare the image hash from the running container with that of your image to see if your config picks up the correct image
so
docker container inspect
and docker image inspect
They are not the same, so this tells it doesn't pick up the same image that I want to use. This means we have to go back to my original question again. You have suggested 2 options: A and B.
I think the option A should work because it extends from the base image that gets included in the
runtipi-appstore
with minimal addition of cli binaries.
But then the option A doesn't actually work because when I start the app, it doesn't pick up my image. So the question is what could be wrong about it?Well A works, as shown in my screenshot, where I use a custom image.
Are you sure, your path to the user-config is correct?
Alright, i don't know what happens, but restarting runtipi server works. Now, it points to my custom image correctly ππ»
Thanks for your help!
Unknown Userβ’4mo ago
Message Not Public
Sign In & Join Server To View