Open Wundo-1 opened 6 months ago
Basically this set up is sort of like a bunch of containers running in coordination... some call it "container orchestration"... anyways not important. What is important is that your docker-compose.yaml file and your .env file.. All should NOT have file extensions and the dockercompose file should be docker-compose.yaml.
With that here's a step by step.
cd /
. Think of it as your windows desktopgit clone https://github.com/chriscrowe/docker-pihole-unbound.git
should create the folder and clone this repo as is.cd /docker-pihole-unbound/one-container
if you're unsure what the name is you can use ls
to see the files in the directory. Note that we went into two directories with that commandsudo docker compose up -d
... have fun...
Hello! Im new to docker and linux and am trying to figure this out. For the file structure i am using /opt/container1 I Created a .yml file and a .env file. and when i spun up the container only pihole installed (working healthy) but "sudo service unbound restart" gives "service not found" and "Dig" gives "server not found" I suspect unbound wasnt installed into the container and im curious what i have done wrong or Havent done. I have the .yml file and .env file in /opt/container1 am i also supposed to create a "unbound-pihole.conf, unbound-run" files? if so, where do i place those?
dockercompose.txt