Docker containers on Mikrotik? Part 2: PiHole

  Рет қаралды 55,760

MikroTik

MikroTik

Күн бұрын

Пікірлер: 87
@AleNoJoPorad
@AleNoJoPorad 2 жыл бұрын
I absolutely love this CLI / GUI side by side view.
@stephanszarafinski9001
@stephanszarafinski9001 2 жыл бұрын
Nice video, I like how you show the dual terminal/winbox config.
@adriahnogm
@adriahnogm Жыл бұрын
Since RouterOS ver7.8, because of the changes made in the USB management, instead of disk1, I recommend using usb1-part1.
@gsi87
@gsi87 2 жыл бұрын
Классное решение - одновременно показывать настройку в консоли и графике!
@ighor
@ighor 2 жыл бұрын
If a two containers using the same registry image name, are they use double storage space in Router OS? In other words, do we have layered fs working there? So we save a space by sharing the same images data between containers.
@leifrudd8934
@leifrudd8934 Жыл бұрын
getting excited for my new hAP ax3 to arrive! thanks for the primer on making great use of it
@mikrotik
@mikrotik Жыл бұрын
Have fun!
@ksenyxths
@ksenyxths Жыл бұрын
Nice presentation on both CLI / GUI option. Thanks for sharing!
9 ай бұрын
Nice and easy. I'll translate this setup to pt-br in a live tonight for Brazilian users.
@mdobro7594
@mdobro7594 5 ай бұрын
Troubleshooting that work for me: * check system -> routerBOARD and make sure your current firmware matches the upgrade firmware. Otherwise update and reboot * make sure you format with MBR Partition Table unchecked * if you get error when trying pull container, disk name is now "slot". Make sure you are using that for your mount, container config, and root dir paths and not label. * open files while extracting and you should see data loading into the "pull" directory * be patient - extracting can take a while
@NickNokolas
@NickNokolas 4 ай бұрын
it helps
@Rob2
@Rob2 2 жыл бұрын
I'm anxiously awaiting the support for RAMdisk on all devices (not only those with 16MB flash) so I can put a container in RAMdisk and find a useful use for the gigabyte of RAM in my 4011 router... Of course I know that it will be lost on reboot then, but powerfails are very rare here, and for a small "settings" space I can mount a directory on the flash. Uploading the container after every reboot would be doable.
@mikrotik
@mikrotik 2 жыл бұрын
We are actually considering this
@m0t0rh3ad
@m0t0rh3ad Жыл бұрын
@Mikrotik, one question, how and what should I modify to get proper stat for Client stat? Right now it shows only one IP - Dockers Bridge IP Gateway... Some additional NAT rules or ...?
@AlexanderBelikov
@AlexanderBelikov 6 ай бұрын
I've just configured it on my hAP ac3 - works great!
@m1nusasusplus897
@m1nusasusplus897 2 жыл бұрын
1. How much resources will take pi-hole? 2. Good to use Portainer for managing your containers.
@M4dM1ke
@M4dM1ke 2 жыл бұрын
Mikrotik ❤️
@danielriossuarez
@danielriossuarez 2 жыл бұрын
Can we get access to the terminal inside the containers? Thank you MT, great work!
@79spqr
@79spqr Жыл бұрын
Yes, you can watch the third video in the series.
@gianlucagiuman6132
@gianlucagiuman6132 2 жыл бұрын
wooooot !!! nice video i like too (stephen) the dual conf term/winbox and wait your next video :) but do you think that a python/docker session can run on mk ?
@zadekeys2194
@zadekeys2194 2 жыл бұрын
It would also be good to run Docker Bench or Snyk, to check your container security :)
@lacuevadelinsecto
@lacuevadelinsecto 10 ай бұрын
You set the subnet /24, so the reason is assign an ip address to each one. If that's true, why you need to use the gateway to access the containers, and not the container ip or a host URL? My question is about two container using the same port (80 for instance), How can you identify each container using NAT?
@ITAdminSprávcaHelpDeskHEMANsof
@ITAdminSprávcaHelpDeskHEMANsof Ай бұрын
INTERNAL DISK FULL - HOW TO CLEAR ?
@glebivanovsky7886
@glebivanovsky7886 2 жыл бұрын
At 5:39 one can also specify the architecture of the image to pull using `--platform` option. Should work with a more or less recent version of Docker client.
@79spqr
@79spqr Жыл бұрын
Thanks for the very helpful videos. Did you do something to isolate the 172.17.0.x and the 192.168.88.x networks? I think the device is routing between those two networks. I can directly access the 172.17.0.x deceives from clients on the 192 network. This is on a factory reset hap.
@frag_stone
@frag_stone 2 жыл бұрын
Nice video but can you show who I to handle ipv6 for the bridge with prefix delegation?
@QnapPenta
@QnapPenta 12 күн бұрын
Hi Druvis @mikrotik, how can i update the Pihole installed on a container? SSH straight on the DNS ip set for it refuse the connection. Could you help? THanks
@massimofava6860
@massimofava6860 2 жыл бұрын
Is the Docker swarm or kubernetis applicable? that is what we are looking for!!!!
@clearheadedness
@clearheadedness Жыл бұрын
will it run on Hex S?
@ediongtajale6258
@ediongtajale6258 6 ай бұрын
does vlan also filter by pihole?
@HangarQueen
@HangarQueen 2 жыл бұрын
I was all psyched to implement pihole or adguard on my RB4011, and was following through this process -- until I got to the point of configuring the container temp directory used for the docker image pull. The video shows it as "disk1/pull", but I don't have a disk1. Aha!, you've mounted an external drive on yours. But the RB4011 doesn't have a USB port for adding external storage, unfortunately. And apparently RouterOS doesn't yet support mounting a network share?! Even though I have about 400MB free on my internal drive, I don't think I'd want pihole or adguard frequently writing to it. The internal drive is a NAND flash drive and would burn out pretty pretty quickly, I fear. So now I'm trying to figure out what Mikrotik devices support adding external storage, at a reasonable price. The only one I see is the RB3011, which has a USB port but in other respects seems like a downgrade from my RB4011. And when might RouterOS support mounting a network share? Crazy in this day and age that it doesn't.
@therealrockguy100
@therealrockguy100 Жыл бұрын
did you ever find an answer to this? I had a rpi3 with pihole hooked up to one of the ethernet ports, but for some reason would always get corrupted every 3 -5 months. So I wanted to try pihole on the rb4011, but am in the same situation as yourself. Can we do a network share drive? Cheers
@mikrotik
@mikrotik Жыл бұрын
You can mount external drive using a new package in v7.8 help.mikrotik.com/docs/display/ROS/ROSE-storage And for many containers, you don't need external drive, if the internal storage is enough.
@DD_YTvideo
@DD_YTvideo 2 жыл бұрын
That was very informative. I managed to make it work on Ac3. Maybe it's a bit underpowered for that purpose, but it works. One RPI less for powering. Waiting for availability of AX3.
@uzhacuzhacny1083
@uzhacuzhacny1083 Жыл бұрын
im waiting for AX3 too but.... WiFi 7 is about to get out.... mybe just skip WiFi6 and get Wifi7 ?
@emercs33
@emercs33 29 күн бұрын
Is it possible to make a Linux container with CLAT to use ipv4 where mobile operators only have IPV6? Could you make a tutorial video, please?
@MrLupoNino
@MrLupoNino Жыл бұрын
You configured 172.17.0.1/24 for the interface "dockers". So this /24 subnet must be enough to offer IPs to the upcoming dockers right? And 1-IP per 1-Docker is enough, right? Thanks for the great work, but if you keep the background music a little lower could be even better i think.
@ITAdminSprávcaHelpDeskHEMANsof
@ITAdminSprávcaHelpDeskHEMANsof Ай бұрын
HELP PAGE NOT WORK
@AlexanderBelikov
@AlexanderBelikov 8 ай бұрын
How to check the resource requirements? Can my HAP AC3 run pihole container? I'll add the drive, vut still not sure about cpu and ram.
@Anavllama
@Anavllama Жыл бұрын
I cannot find info on containers and VLANS. What if I have 3 vlans. Should I put the container on its own VLAN. These cookie cutter examples great for loading a container but almost useless for actually applying pihole or any other functionality, in a slightly more complex but very common single bridge multiple vlan household. Would be great for video #4
@Quettesh
@Quettesh Жыл бұрын
I have a problem, if the router (AX3) is powered off by unpluggion the power adapter, all my active VETHs will disappear.
@sazma
@sazma 2 жыл бұрын
I followed the instructions, but my router IP doesn't end up listening on 53. Do I need to add another dst-nat? I already had pihole running on a VM in my network, so my RB5009 doesn't hand out its IP for DNS in the DHCP config, but I used nslookup and set the server to the gateway IP and it doesn't respond. Also, will it ever be possible to get a list of USB devices and pass them to containers? I'd love to use this to host my Zigbee and Z-Wave dongles and pass them to Zigbee2mqtt.
@johnr9243
@johnr9243 2 жыл бұрын
hey one question how do you set a container to autostart after reboot like pihole for example?
@RB01-lite
@RB01-lite 2 жыл бұрын
start-on-boot=yes
@詹文明-b9o
@詹文明-b9o Жыл бұрын
Hi . Can I run OPENWRT on MikroTik on container?
@vuducdong
@vuducdong Жыл бұрын
Yes, you can
@DonHDoll
@DonHDoll Жыл бұрын
i have this problems unexpected response from container registry: ERROR parsing http: there was no content-length or transfer-encoding, help please
@materangics6984
@materangics6984 2 жыл бұрын
Hi, this means that the HEx series cannot execute container due to architecture, right?
@RB01-lite
@RB01-lite 2 жыл бұрын
yes
@materangics6984
@materangics6984 Жыл бұрын
Unfortunately. :( Bad news and I don't think this will change.
@jbenitezcom
@jbenitezcom 2 жыл бұрын
¿Se puede ejecutar apache, PHP y MySQL?
@IntelOut
@IntelOut 2 жыл бұрын
is it possible to run containers at CHR hosted at ex-debian VDS?
@DimitriPappas
@DimitriPappas 2 жыл бұрын
containers run on chr, yes
@vasileiosmagoulas4215
@vasileiosmagoulas4215 2 жыл бұрын
Hi guys, i am experiencing a problem when im trying to import the pihole either remotely or locally. I followed all the steps even with armv7 digest but keep getting "error: could not find image manifest in archive" both on remote and local import. Any ideas? I am using hap ac3 ros 7.5
@zadekeys2194
@zadekeys2194 7 ай бұрын
You've prob fixed this by now, but I would check that the RB firmware is upto date. This is separate from the RoSv7 firmware.
@jonneymendoza
@jonneymendoza Жыл бұрын
After following this guide i get a 403 error when navigating to the pihole url
@alexant
@alexant Жыл бұрын
I have the same too( Did you resolve this problem? ROS v7.8
@alexant
@alexant Жыл бұрын
I did it! Open browser page ip:port/admin
@lucasr4204
@lucasr4204 Жыл бұрын
@@alexant Thanks! :)
@ManuEvans
@ManuEvans 2 жыл бұрын
"Wrong token! Please re-login on the Pi-hole dashboard"... I followed this video, and I get the admin page, but whenever I try and do anything in the admin console, I just see this error. Google seems to think the fix is to clear the browser cache, but that doesn't work, and besides, it's the first time I've visited the page!
@ManuEvans
@ManuEvans 2 жыл бұрын
I've realised that it has to do with the dst-nat step described in the video... if I access the IP directly rather than by dst-nat, it works as expected...
@lukasjavorsky1031
@lukasjavorsky1031 Жыл бұрын
Hi, I've just wanted to try your recommended guide but I ended up with an error which I cannot find any helpful information about what could be wrong. My device is: MikroTik hAP ac3 Architecture: arm Packages versions: 7.7 I use an external USB stick (8GB) for the container storage, File System=fat32, Formated on a Mikrotik router. I pretty much followed all of your steps, the only difference is that I used the USB stick as the 'src' and 'mount' The log from this is: container,info,debug getting layer sha256:330ad28688ae3fa5f3b241fef3efd076299bec9874e0597b1c16dcf8a165a53d container,info,debug layer sha256:330ad28688ae3fa5f3b241fef3efd076299bec9874e0597b1c16dcf8a165a53d downloaded container,info,debug failed to extract layer container,info,debug was unable to import, container 54752d2d-d6ad-4b91-b99d-c1c60d3cdf2d Could you please help me understand what could I have done wrong? Thank you so much in advance.
@danickmarleau
@danickmarleau Жыл бұрын
I had the same error, if you go in ip->dns. Add 8.8.8.8 to your servers and you should be all good!
@Athajish
@Athajish Жыл бұрын
@@danickmarleau Thank you very much! i had the same issue
@valentindimitrov2493
@valentindimitrov2493 Жыл бұрын
what is the password to access pihole. the one I entered in evns shows that it is wrong
@phee303
@phee303 6 ай бұрын
will you please make a video on how to update the pihole container?
@mdobro7594
@mdobro7594 5 ай бұрын
Can you just copy the container and have it re-pull latest?
@phee303
@phee303 4 ай бұрын
@@mdobro7594 i dont know how to do that lol
@nativeme2143
@nativeme2143 Жыл бұрын
If i would like to show someone how to make good tutorial video i would just send him this as a reference.
@johnr9243
@johnr9243 2 жыл бұрын
hey @MikroTik I have set up also ng proxy manager container all good but none of my reverse proxy paths are working. Could you please make a video how to properly setup a reverse proxy container? also I noticed that if I setup the absolutely same container on another hw on my lan then all the local paths start to work all the redirects and port forwards which makes me think that it's just a misconfiguration of my router in the first case
@gakasio
@gakasio Жыл бұрын
Hello! Can you tell how you do that? Maybe text information?
@johnr9243
@johnr9243 Жыл бұрын
@@gakasio what do you mean?
@gakasio
@gakasio Жыл бұрын
@@johnr9243 I mean how you realized that?
@gakasio
@gakasio Жыл бұрын
@@johnr9243 any help
@megashtyr1
@megashtyr1 2 жыл бұрын
Unfortunately none of my Mikrotik devices have ARM CPU (
@hig4t0wer
@hig4t0wer Жыл бұрын
Great tutorial. I followed it and got myself a Pi-hole. However I than upgraded to cbcrowe/pihole-unbound to make my own recursive DNS server. Now I have 2 instances of Pi-hole + Unbound and would like to set up gravity sync. For this I need SSH access to both instances. Is it possible to access Docker container on MikroTik via SSH? I tried and failed.
@insanemarcwhite
@insanemarcwhite 2 жыл бұрын
MikroTik jūs esat pārspējuši paši sevi. Beidzot ir pienācis laiks nomainīt savu desmitgadīgo RB2011... līdz ko hAP ax sērija parādīsies noliktavās. 👍
@troy.s
@troy.s 2 жыл бұрын
Struggling to see where this is useful outside of home networking. Would much rather have seen more robust metarouter support in ROS7. So much horsepower in the new ARM based CCR and nothing to to use it.
@sebastiankoba4932
@sebastiankoba4932 Жыл бұрын
root@pihole:/# pihole -up Function not supported in Docker images root@pihole:/# :(
@lmsv
@lmsv 2 жыл бұрын
Awesome!
@NickNokolas
@NickNokolas 4 ай бұрын
Status error
@uzhacuzhacny1083
@uzhacuzhacny1083 Жыл бұрын
uz 7.6 hap ac3 nemaina paroli netieku klāt! pie web interfeisa!
@mikrotik
@mikrotik Жыл бұрын
Use the MikroTik mobile app, not web interface
@lucasr4204
@lucasr4204 Жыл бұрын
status:error :(
@TischenkoAlexandr
@TischenkoAlexandr Жыл бұрын
Can I ask you, how we can update running containers? For example: on the Linux docker environment we have a containrrr/watchtower but it requires interaction with docker (-v /var/run/docker.sock:/var/run/docker.sock)
@mikrotik
@mikrotik Жыл бұрын
You must download the container again. All your config and data will be on the external directory, so you will not lose anything
@4L3xN3t
@4L3xN3t 10 ай бұрын
@@mikrotikas far as I understand the container image is downloaded when creating it in the container section. so to download it agai it has to be removed and recreated? I don't see any command or button to download an exinsting container
MikroTik containers: Part 3
10:50
MikroTik
Рет қаралды 22 М.
Instalación Servidor DNS Pihole Container Mikrotik V7.15.2
15:23
JhonnyTech90
Рет қаралды 1,3 М.
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 17 МЛН
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 54 МЛН
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 50 МЛН
Install Pi-Hole on Windows 11 FAST
4:06
KMDTech
Рет қаралды 23 М.
Impossible, docker containers on Mikrotik? Part 1
4:03
MikroTik
Рет қаралды 65 М.
You're running Pi-Hole wrong! Setting up your own Recursive DNS Server!
18:02
Blocking Ads With a 15 Year Old Computer
12:19
Hardware Haven
Рет қаралды 126 М.
MikroTips: How to firewall
21:56
MikroTik
Рет қаралды 153 М.
How to Stop Ads With Mikrotik - MIKROTIK TUTORIAL [ENG SUB]
37:05
Mikrotik Indonesia - Citraweb
Рет қаралды 16 М.
Why Pi-hole when you can RouterOS adlist?
4:42
MikroTik
Рет қаралды 21 М.
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 377 М.