-
DescriptionI am new to docker, and struggling to learn how to edit the config files. Every tutorial, whether in the documentation of docker, homepage, or online video tutorials, seems to skip over how to actually find and edit them, and instead begins at the actual editing step, assuming I already know how to do all that. My main questions are:
Here is a detailed list of the steps taken so far: I successfully set up the homepage container in docker, on an Ubuntu 22.04 install. I used the command This worked, copied the settings, and I could confirm that it was running by visiting localhost:3000 It is worth noting the code described on the github is different to that provided in the instructions, and I am not sure which is more recent or better to follow. Nonetheless this is the code from the github page. So now, I need to figure out how to edit the settings.yaml described in the terminal process and documentation. First, I try to find the files locally on my computer. A forum post here says I will be able to find the files by using the path input in the install code. In my case, that would be: Unfortunately, ubuntu's text editor will not open the .sock files. So I try nano. This does not work, an error reads: Ok. No idea what that means. I begin learning further about docker and how it works. One person on a forum explains that, no, silly, you can't edit anything that will be used inside the docker container if you aren't in it. Ok, time to figure how to then go into the container. The most common seems to be to use ssh. Every tutorial, documentation site and video I could find just starts the 'editing settings' step (or equivalent) having already ssh'd in to the homepage container. So I had to follow another two different tutorials on how to ssh. One tutorial said I would first need to find the network location of the container:
I receive: Ok. I have no idea what this means, so my best guess is that maybe the ssh server itself has not been installed inside the container. So next, I go looking for other ways to access it. I find multiple videos on bin bash, because of course the docker documentation itself for some reason doesn't list the exec command at all in the config help section. I follow the steps found on both a video tutorial and a docker forum post that says to:
I receive: Ok. So I do some more reading on forum posts and follow another tutorial to find this means that likely the bash function or folder has not been installed in the container. One tutorial suggests copying the docker image and completely rewriting the install instructions in the docker file to include either ssh or bash so that I can use it. This seems like a length rabbit hole to go down to edit what seems to be a very basic config file. My logic at this point stops me. Surely this package wouldn't be shipped without a way to edit the config file to do basic set up to begin with, right? So what am I missing here? P.S. I know some people will read this and think I am adding a bunch of unnecessary contextual information. I am intentionally adding this extra information about the steps I've taken and my learning process, because I simply cannot find anywhere online a step by step walkthrough of how to edit docker YAML files at all on ubuntu, let alone specifically for homepage, that involves a step by step of the whole process. Rather, every tutorial seems to be a small niche bit of information on that specific subject, which as a new user makes learning feel more laborious than it normally would. Hopefully someone finds it helpful in future if I find a solution. homepage versionv0.8.12 Installation methodDocker ConfigurationAll default config Container LogsN/A Browser LogsN/A TroubleshootingN/A |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Thanks for posting a discussion about homepage here on GitHub. Homepage now uses a fancy new AI tool thanks to our friends at Glime, so the answer below is the AI bot's attempt to answer your question. If you feel it's sufficient you can mark the answer and close this post, otherwise feel free to leave it open of course! Thanks for using Homepage! ❤️ I understand that you're new to Docker and trying to figure out how to edit the
Please replace Remember, the If you have any further questions or need clarification on any of the steps, please let me know! This comment was generated by Glime. |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically closed because it was marked as answered. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
Thanks for posting a discussion about homepage here on GitHub. Homepage now uses a fancy new AI tool thanks to our friends at Glime, so the answer below is the AI bot's attempt to answer your question. If you feel it's sufficient you can mark the answer and close this post, otherwise feel free to leave it open of course!
Thanks for using Homepage! ❤️
I understand that you're new to Docker and trying to figure out how to edit the
settings.yaml
file for your Homepage installation. Let's clarify the process step by step:Locate the Configuration Files:
The command you used to run the Homepage container includes a volume mapping
-v /path/to/config:/app/config
. The/path/to/config
part shou…