Community discussions

MikroTik App
 
User avatar
qatar2022
Member Candidate
Member Candidate
Topic Author
Posts: 141
Joined: Mon Aug 24, 2020 11:12 am

Docker Pihole container on USB

Fri Jan 20, 2023 9:32 am

Dear all
I install pihole container on my MK RB5009 ( finally) and I think it’s working and as you know while pihole works on MK it’s takes up space from MK memory
When I tried to install pihole on usb and during extracting I get error!!!!
Do you know what is wrong I made? I already format usb ext3 and ext4 but with no succeed
Now can I transfer all pihole data from internal storage to usb?
Thank you and best regatds
 
User avatar
Znevna
Forum Guru
Forum Guru
Posts: 1347
Joined: Mon Sep 23, 2019 1:04 pm

Re: Docker Pihole container on USB

Fri Jan 20, 2023 9:36 am

read the manual
 
gabacho4
Member
Member
Posts: 329
Joined: Mon Dec 28, 2020 12:30 pm
Location: Earth

Re: Docker Pihole container on USB

Fri Jan 20, 2023 9:54 am

Need to see output of system/disks/print.

Also need to see your container settings in their entirety. Don't have access to my 5009 but believe /container/print might work.
 
User avatar
qatar2022
Member Candidate
Member Candidate
Topic Author
Posts: 141
Joined: Mon Aug 24, 2020 11:12 am

Re: Docker Pihole container on USB

Fri Jan 20, 2023 11:45 am

[admin@MikroTik RB5009UG+S+] > container/print
0 name="ffb12c5a-7b19-4438-b064-8002de34b7ae" tag="pihole/pihole:latest"
os="linux" arch="arm64" interface=veth1 envlist="pihole_envs"
root-dir=disk1/pihole mounts=etc_pihole,dnsmasq_pihole dns=""
start-on-boot=yes status=running
[admin@MikroTik RB5009UG+S+] >
 
gabacho4
Member
Member
Posts: 329
Joined: Mon Dec 28, 2020 12:30 pm
Location: Earth

Re: Docker Pihole container on USB

Fri Jan 20, 2023 1:09 pm

You forgot to provide the output of system/disks/print.

Currently your container is set to use the router's nand memory. Not USB.
 
User avatar
qatar2022
Member Candidate
Member Candidate
Topic Author
Posts: 141
Joined: Mon Aug 24, 2020 11:12 am

Re: Docker Pihole container on USB

Fri Jan 20, 2023 3:44 pm

dear gabacho4
thank you for your reply and help
I didn't use usb yet I'm using now routers Nand memory because i got an error during extracting image

Image
Image
Image
Image
 
bibos
just joined
Posts: 2
Joined: Sun Jan 08, 2023 10:18 am

Re: Docker Pihole container on USB

Sun Jan 22, 2023 1:21 pm

I have the same problem, it seems that is a bug

It should be like that:
Image
and disks:
Image

I've made it work only after these steps:
- create a container with rootDir on disk1/pull
- Run container
- After downloading and extracting, remove container
- Flash disk with partition
- Create a container with normal rootDir as manual says "disk1/pihole"

Who is online

Users browsing this forum: No registered users and 9 guests