7.21 або новіша. Старіші версії відхиляють блок встановлення.
Підтримка контейнерів
Пакет container встановлено, а режим пристрою для контейнерів увімкнено. Для його ввімкнення потрібен фізичний доступ до роутера — це правило MikroTik, а не наше.
Процесор
arm, arm64 або x86.
Один роутер — один пристрій
Контейнер тримає власний ключ машини й прив’язується до вашого акаунта як окремий пристрій.
Встановлення
Встановлення
Контейнер RouterOS, перевірений на реальному обладнанні — MikroTik cAP ax отримав образ, зареєструвався, вивів код пов’язання і підключився. Він тримає власний машинний ключ і запитує вихідний вузол у контрольної площини так само, як це робить телефон.
01
Дайте контейнеру власну адресу
Три рядки в терміналі RouterOS — /30, що існує лише між контейнером і роутером, нічого шукати у вашій локальній мережі.
02
Додайте й запустіть контейнер
Закріплений образ, а не :latest — роутер, перед яким ви не стоїте, ніколи не повинен непомітно підміняти те, що він запускає.
03
Прочитайте код пов’язання
Він виводиться в /log ще до того, як контейнер матиме бодай якийсь доступ до мережі. Відкрийте застосунок ForestVPN, уже увійшовши з вашим номером акаунта, і введіть код.
04
Оберіть вихідний вузол зі свого телефона
Роутер обслуговує власну сторінку стану за адресою, яку ви щойно йому дали, — відкрийте її з телефона в тій самій мережі й торкніться локації. Це єдине, чого пристрій без екрана не може зробити сам.
Усе встановлення цілком
{# The settings. The form above this script on fvpn.net/download/mikrotik/ fills them in.# fvLAN what goes through the tunnel: "off" (only the router's own container), "all" (the whole# LAN, with a kill switch), "devices" or "services" (the ones you list later), "rules"# fvBR your LAN bridge fvWAN the interface list that holds your internet interface:globalfvLAN"off":globalfvBR"bridge":globalfvWAN"WAN":globalfvMODE"private"# >>> forestvpn settings check >>>:if(!($fvLAN="off"||$fvLAN="all"||$fvLAN="devices"||$fvLAN="services"||$fvLAN="rules"))do={:error("ForestVPN: fvLAN is \"".$fvLAN."\"; use all, devices, services, rules or off.")}:if($fvLAN!="off")do={:if($fvMODE!="private")do={:error"ForestVPN: fvLAN works only in the default private mode, on the router that routes your LAN."}:if([:len[/interface/findwherename=$fvBR]]!=1)do={:error("ForestVPN: there is no interface called ".$fvBR.". Set fvBR to your LAN bridge (see /interface/bridge/print) and paste again.")}:if([:len[/interface/list/member/findwherelist=$fvWAN]]=0)do={:error("ForestVPN: the interface list ".$fvWAN." is missing or empty. Set fvWAN to the interface list that holds your internet interface and paste again.")}}# <<< forestvpn settings check <<<# >>> forestvpn previous generation >>># The ForestVPN setup before this app (a qproxy container, WireGuard fvpn0, the address list# under_fvpn, the routing table fvpn and its "ForestVPN Kill Switch" rule) keeps steering the LAN# into a tunnel that no longer exists. Its own script removes it: packaging/mikrotik/remove-old.rsc,# fvpn.net/help/mikrotik-remove-old/. Until then this refuses, before it changes anything.:if([:len[/container/findwherename~"qproxy"]]+[:len[/interface/wireguard/findwherename="fvpn0"]]+[:len[/ip/firewall/address-list/findwherelist="under_fvpn"]]+[:len[/routing/table/findwherename="fvpn"]]+[:len[/routing/rule/findwherecomment~"ForestVPN Kill Switch"]]>0)do={:error"ForestVPN: this router still has the previous ForestVPN setup (qproxy, WireGuard fvpn0). Nothing was changed. Remove it first with the script on fvpn.net/help/mikrotik-remove-old/, then paste this again."}# <<< forestvpn previous generation <<<:globalfvCT"172.31.254.2"# Pasting this again keeps veth-fvpn and the fvpn-state mount (machine.key, the router's identity) and replaces the container./interface/bridge/port/remove[findwhereinterface="veth-fvpn"]:if([:len[/interface/veth/findwherename="veth-fvpn"]]=0)do={/interface/veth/addname=veth-fvpnaddress=172.31.254.2/30gateway=172.31.254.1}else={/interface/veth/set[findwherename="veth-fvpn"]address=172.31.254.2/30gateway=172.31.254.1}:if([:len[/ip/address/findwhereinterface="veth-fvpn"]]=0)do={/ip/address/addaddress=172.31.254.1/30interface=veth-fvpn}:if([:len[/interface/list/findwherename="LAN"]]>0&&[:len[/interface/list/member/findwherelist="LAN"andinterface="veth-fvpn"]]=0)do={/interface/list/member/addlist=LANinterface=veth-fvpn}# >>> forestvpn this install >>># A second paste replaces the container this file added before (the one on veth-fvpn), the# watchdog and the RAM-root boot script, all added again below. The watchdog goes FIRST: it would# start the old container again while this loop is stopping it. The mount stays: its source holds# machine.key, and /container/remove deletes the container's root-dir, never a mount source./system/scheduler/remove[findwherename="forestvpn-watch"]/system/script/remove[findwherename="forestvpn-watch"]:foreachcin=[/container/findwhereinterface="veth-fvpn"]do={:do{/container/stop$c}on-error={}:localn0:while([:len[/container/findwhere.id=$c]]>0&&$n<30)do={:delay2s:do{/container/remove$c}on-error={}:setn($n+1)}}:if([:len[/container/findwhereinterface="veth-fvpn"]]>0)do={:error"ForestVPN: the container from the earlier install did not stop within a minute (still downloading?). Paste this again in a minute."}/system/scheduler/remove[findwherename="forestvpn-repull"]/system/script/remove[findwherename="forestvpn-repull"]# <<< forestvpn this install <<<# A `flash` folder (hAP ac² and other 16 MB boards) means only flash/ survives a reboot: the state# goes there, the log stays in RAM, and the image is pulled again at every boot.:globalfvRAMROOT([:len[/file/findwherename="flash"]]>0):globalfvSTATE"/forestvpn":globalfvCMD"--agent --nat-lan --iface fvpn0 --config /etc/forestvpn/fvpn0.conf --policy-route --fwmark 51820 --table 100 --http-port 80 --report /etc/forestvpn/result.txt":if($fvRAMROOT)do={:globalfvSTATE:globalfvCMD:setfvSTATE"flash/forestvpn":setfvCMD($fvCMD." --log-dir /var/log")}:if([:len[/container/mounts/findwherelist="fvpn-state"]]=0)do={/container/mounts/addlist=fvpn-statesrc=$fvSTATEdst=/etc/forestvpnmode=rw}/container/addremote-image=suquant/fvpn:0.9.0interface=veth-fvpnroot-dir=/fvpn\mountlists=fvpn-stateentrypoint=/mikrotik.shcmd=$fvCMD\privileged=yeslogging=yesstart-on-boot=yesdns=172.31.254.1name=fvpn:if($fvRAMROOT)do={/container/set[findname="fvpn"]start-on-boot=no/system/script/addname=forestvpn-repullcomment="forestvpn"source={:localc[/container/findwherename="fvpn"]:if([:len$c]=1)do={:localn0:while((![/container/get$crunning])&&($n<60))do={:setn($n+1):loginfo("ForestVPN: pulling the image into the RAM root, attempt ".$n):do{/container/repull$c}on-error={}:localw0:locals"":while(($w<60)&&($s=""))do={:setw($w+1):delay5s:localst[:pick[/container/printas-valuewherename="fvpn"]0]:if(($st->"stopped")=true)do={:sets"stopped"}:if(($st->"download/extract failed")=true)do={:sets"failed"}}:if($s="stopped")do={:do{/container/start$c}on-error={}:delay30s}else={:logwarning"ForestVPN: image pull failed, retrying in 60s":delay60s}}:if(![/container/get$crunning])do={:logerror"ForestVPN: the container is still not running after 60 pulls; see /container/print"}}}/system/scheduler/addname=forestvpn-repullstart-time=startupcomment="forestvpn"\on-event="/system/script/run forestvpn-repull"}/container/start[findname="fvpn"]# The watchdog, on every board. RouterOS starts a container only at boot (start-on-boot) and never# again: one that is killed (RouterOS's out-of-memory killer, on a customer's 128 MB board) or whose# fv exits (mikrotik.sh then exits too) stays stopped until the router is rebooted: 43 hours there.# Once a minute this starts it if it is not running. Keyed on `running`, the test the# boot script above uses, not on the `stopped` flag. It leaves a RAM-root board alone while the# boot script is pulling the image: that script owns the first start, and a start on an empty# root only fails. To stop the container on purpose, first /system/scheduler/disable forestvpn-watch# (and enable it again after), or it is started again within the minute./system/script/addname=forestvpn-watchcomment="forestvpn"source={:localc[/container/findwherename="fvpn"]:if([:len$c]=1)do={:if([:len[/system/script/job/findwherescript="forestvpn-repull"]]=0)do={:if(![/container/get$crunning])do={:logwarning"ForestVPN: starting the stopped container":do{/container/start$c}on-error={}}}}}/system/scheduler/addname=forestvpn-watchinterval=1mcomment="forestvpn"\on-event="/system/script/run forestvpn-watch"# >>> forestvpn LAN routing set >>># The one copy is crates/fv/src/portal/lan.rsc. install.rsc and the download page carry it verbatim# (tests compare them), and the status page's routing tab prints it after four :global lines.# fvLAN all | devices | services | rules what is sent through the tunnel ("rules": only# the table, kill switch and plumbing, for your own# mark-routing rules with new-routing-mark=via-fvpn)# fvBR the LAN bridge (MikroTik's default is "bridge")# fvWAN the interface list that holds the internet interface (default "WAN")# fvCT the container's address on veth-fvpn (the install's private mode: 172.31.254.2)# Every object this adds has a comment starting "forestvpn". Pasting it again first removes them# all, then adds the current set, so a second paste changes nothing.:globalfvLAN:globalfvBR:globalfvWAN:globalfvCT:if($fvLAN="all"||$fvLAN="devices"||$fvLAN="services"||$fvLAN="rules")do={:globalfvLAN:globalfvBR:globalfvWAN:globalfvCT:if([:len[/interface/veth/findwherename="veth-fvpn"]]!=1)do={:error"ForestVPN: there is no veth-fvpn on this router. Run the install first, on this router."}:if([:len[/interface/bridge/port/findwhereinterface="veth-fvpn"]]>0)do={:error"ForestVPN: veth-fvpn is a bridge port (the install's lan mode). This set is for the default private mode, on the router that routes your LAN."}:if([:len[/interface/findwherename=$fvBR]]!=1)do={:error("ForestVPN: there is no interface called ".$fvBR.". Paste :global fvBR \"<your LAN bridge>\" (see /interface/bridge/print), then this again.")}:if([:len[/interface/list/member/findwherelist=$fvWAN]]=0)do={:error("ForestVPN: the interface list ".$fvWAN." is missing or empty, so the kill switch would drop nothing. Paste :global fvWAN \"<the list that holds your internet interface>\" , then this again.")}# Converge: remove whatever an earlier copy added (this set, the status page's older script, or the# 2026-10 hand-built set on the first customer routers, whose comments also start "forestvpn").# Nothing the installer adds lives in these menus./ip/firewall/mangle/remove[findwherecomment~"^forestvpn"]/ip/firewall/filter/remove[findwherecomment~"^forestvpn"]/ip/firewall/nat/remove[findwherecomment~"^forestvpn"]/ipv6/firewall/filter/remove[findwherecomment~"^forestvpn"]/routing/rule/remove[findwherecomment~"^forestvpn"]/ip/route/remove[findwhererouting-table="via-fvpn"and!dynamic]/ip/firewall/address-list/remove[findwherelist="forestvpn-direct"]# A mark-routing rule into a table that no longer exists routes by the main table, out the WAN, and# with passthrough=no it also hides the traffic from the marks below. The same customer router had# one from an older routing set, its table removed with the previous ForestVPN setup.:foreachrin=[/ip/firewall/mangle/findwhereaction=mark-routing]do={:localm[:tostr[/ip/firewall/mangle/get$rnew-routing-mark]]:if($m!="main"&&[:len[/routing/table/findwherename=$m]]=0)do={:put("ForestVPN: removed mangle rule \"".[:tostr[/ip/firewall/mangle/get$rcomment]]."\": it routes into the table ".$m.", which does not exist.")/ip/firewall/mangle/remove$r}}# The table. Marked traffic goes to the container; when the container is gone the blackhole takes# over, and the rule stops a marked packet from ever falling back to the main table.:if([:len[/routing/table/findwherename="via-fvpn"]]=0)do={/routing/table/addname=via-fvpnfibcomment="forestvpn"}/ip/route/adddst-address=0.0.0.0/0gateway=$fvCTrouting-table=via-fvpncomment="forestvpn: LAN default via the ForestVPN container"/ip/route/adddst-address=0.0.0.0/0blackholerouting-table=via-fvpndistance=250comment="forestvpn kill switch: no tunnel, no internet"/routing/rule/addrouting-mark=via-fvpnaction=lookup-only-in-tabletable=via-fvpncomment="forestvpn kill switch: never fall back to main"# Private ranges stay off the tunnel, so LAN-to-LAN routing, the modem's own page and the# container's /30 keep working.:foreachpin={"10.0.0.0/8";"172.16.0.0/12";"192.168.0.0/16"}do={/ip/firewall/address-list/addlist=forestvpn-directaddress=$pcomment="forestvpn: private ranges stay off the tunnel"}# What is marked. Every mark is anchored to the LAN bridge, so the container's own traffic, which# arrives on veth-fvpn, is never routed back into the container.:if($fvLAN="all")do={/ip/firewall/mangle/addchain=preroutingin-interface=$fvBRdst-address-type=!localdst-address-list=!forestvpn-directaction=mark-routingnew-routing-mark=via-fvpnpassthrough=yescomment="forestvpn: whole LAN through the tunnel"/ip/firewall/filter/addchain=forwardin-interface=$fvBRout-interface-list=$fvWANdst-address-list=!forestvpn-directaction=dropcomment="forestvpn kill switch: LAN never reaches the WAN directly"}:if($fvLAN="devices")do={/ip/firewall/mangle/addchain=preroutingin-interface=$fvBRsrc-address-list=fvpn-clientsdst-address-type=!localdst-address-list=!forestvpn-directaction=mark-routingnew-routing-mark=via-fvpnpassthrough=yescomment="forestvpn: named devices through the tunnel"/ip/firewall/filter/addchain=forwardsrc-address-list=fvpn-clientsout-interface-list=$fvWANdst-address-list=!forestvpn-directaction=dropcomment="forestvpn kill switch: named devices never reach the WAN directly":if([:len[/ip/firewall/address-list/findwherelist="fvpn-clients"]]=0)do={:put"ForestVPN: the fvpn-clients list is empty, so nothing is sent yet. Add a device: /ip/firewall/address-list/add list=fvpn-clients address=<its IP>"}}:if($fvLAN="services")do={:if([:len[/ip/firewall/address-list/findwherelist="fvpn-dst"]]=0)do={# A starting point that drifts. Refresh: core.telegram.org/resources/cidr.txt and Meta's published ranges./ip/firewall/address-list/addlist=fvpn-dstaddress=91.108.4.0/22comment="telegram"/ip/firewall/address-list/addlist=fvpn-dstaddress=149.154.160.0/20comment="telegram"/ip/firewall/address-list/addlist=fvpn-dstaddress=157.240.0.0/16comment="meta/whatsapp"/ip/firewall/address-list/addlist=fvpn-dstaddress=31.13.64.0/18comment="meta/whatsapp"}/ip/firewall/mangle/addchain=preroutingin-interface=$fvBRdst-address-list=fvpn-dstaction=mark-routingnew-routing-mark=via-fvpnpassthrough=yescomment="forestvpn: named services through the tunnel"/ip/firewall/filter/addchain=forwardin-interface=$fvBRdst-address-list=fvpn-dstout-interface-list=$fvWANaction=dropcomment="forestvpn kill switch: named services never leave over the WAN"}# Traffic the container hands back. A container whose tunnel is down forwards to its own default# gateway, which is this router; that traffic must never continue out the WAN./ip/firewall/filter/addchain=forwardin-interface=veth-fvpnsrc-address=("!".$fvCT)connection-state=newaction=dropcomment="forestvpn kill switch: LAN traffic the container hands back never goes out the WAN"# The kill switch goes first in the forward chain. At the end, any accept above it (an older routing# set's "marked flows skip fasttrack", an "accept LAN" rule) waved leaking traffic past it: a# customer router, 2026-11-19, sent its LAN out the WAN for hours with these drops at zero. Marked# traffic leaves by veth-fvpn, so at the top they still drop only what would leak.:localtop[/ip/firewall/filter/findwherechain=forwardand!dynamicand!(comment~"^forestvpn kill switch")]:if([:len$top]>0)do={/ip/firewall/filter/move[findwherechain=forwardandcomment~"^forestvpn kill switch"]destination=($top->0)}# Required, not optional, on images before 0.3.20: the container routes any reply whose destination# is not on its own /30 back into the tunnel, so the LAN must reach it as this router. 0.3.20 adds a# rule inside the container for the same job; this one stays for older images./ip/firewall/nat/addchain=srcnatout-interface=veth-fvpnaction=masqueradecomment="forestvpn: LAN reaches the container as the router, so the container can answer it"# MSS: the tunnel MTU is 1416 (fv --mtu default); 1416 - 80 leaves room for TCP options and an IPv6# inner header. Both directions: the LAN's SYN and the server's SYN-ACK./ip/firewall/mangle/addchain=forwardin-interface=$fvBRout-interface=veth-fvpnprotocol=tcptcp-flags=syntcp-mss=1337-65535action=change-mssnew-mss=1336passthrough=yescomment="forestvpn: MSS for the tunnel MTU 1416, LAN to tunnel"/ip/firewall/mangle/addchain=forwardin-interface=veth-fvpnout-interface=$fvBRprotocol=tcptcp-flags=syntcp-mss=1337-65535action=change-mssnew-mss=1336passthrough=yescomment="forestvpn: MSS for the tunnel MTU 1416, tunnel to LAN"# FastTrack routes by the main table and skips the firewall, so a fasttracked tunnelled flow would# leave over the WAN, past the kill switch. Keep LAN<->container flows out of it. The container's# own tunnel traffic (veth-fvpn to WAN) still fasttracks.:localft[/ip/firewall/filter/findwherechain=forwardandaction=fasttrack-connectionand!disabled]:if([:len$ft]>0)do={/ip/firewall/filter/addchain=forwardin-interface=$fvBRout-interface=veth-fvpnconnection-state=established,relatedaction=acceptplace-before=($ft->0)comment="forestvpn: tunnelled flows skip fasttrack"/ip/firewall/filter/addchain=forwardin-interface=veth-fvpnout-interface=$fvBRconnection-state=established,relatedaction=acceptplace-before=($ft->0)comment="forestvpn: tunnelled replies skip fasttrack"}:if($fvLAN="all")do={# DNS: queries addressed to this router are local, so they are not marked and would resolve over# the WAN. Hand the LAN public resolvers instead; their queries are then marked like anything else.:foreachain=[/ip/address/findwhereinterface=$fvBRand!disabled]do={:locals[:tostr[/ip/address/get$aaddress]]:localip[:toip[:pick$s0[:find$s"/"]]]:foreachnin=[/ip/dhcp-server/network/find]do={:if($ipin[/ip/dhcp-server/network/get$naddress])do={:localwas[:tostr[/ip/dhcp-server/network/get$ndns-server]]:if($was!="1.1.1.1,8.8.8.8"and$was!="1.1.1.1;8.8.8.8")do={/ip/dhcp-server/network/set$ndns-server=1.1.1.1,8.8.8.8:put("ForestVPN: DHCP DNS for ".[/ip/dhcp-server/network/get$naddress]." was \"".$was."\", now 1.1.1.1,8.8.8.8 (through the tunnel). Devices pick it up when they renew their lease.")}}}}# IPv6: the container has no IPv6 address, so the tunnel is IPv4 only. Refuse the LAN's IPv6# forwarding, with an error rather than silence, so devices fall back to IPv4 at once.:localv6[/ipv6/firewall/filter/find]:if([:len$v6]>0)do={/ipv6/firewall/filter/addchain=forwardin-interface=$fvBRout-interface-list=$fvWANaction=rejectreject-with=icmp-no-routeplace-before=($v6->0)comment="forestvpn kill switch: no LAN IPv6 around the IPv4-only tunnel"}else={/ipv6/firewall/filter/addchain=forwardin-interface=$fvBRout-interface-list=$fvWANaction=rejectreject-with=icmp-no-routecomment="forestvpn kill switch: no LAN IPv6 around the IPv4-only tunnel"}}# Connections opened before this paste keep their old path (a fasttracked one never comes back to# these rules). Clear the LAN's, so every flow is decided again.# ponytail: matches the bridge address's first three octets; a LAN wider than /24 keeps older flows until they end.:foreachain=[/ip/address/findwhereinterface=$fvBRand!disabled]do={:locals[:tostr[/ip/address/get$aaddress]]:locald1[:find$s"."]:locald2[:find$s"."($d1+1)]:locald3[:find$s"."($d2+1)]:localre("^".[:pick$s0$d1]."\\.".[:pick$s($d1+1)$d2]."\\.".[:pick$s($d2+1)$d3]."\\.")/ip/firewall/connection/remove[findwheresrc-address~$re]}:put("ForestVPN: LAN routing set applied: ".$fvLAN.", LAN ".$fvBR.", internet list ".$fvWAN.".")}# <<< forestvpn LAN routing set <<</system/script/environment/remove[findwherename="fvLAN"orname="fvBR"orname="fvWAN"orname="fvCT"]}
Кожен рядок несе навантаження, а cmd= — найбільше з усіх.
Без --agent точка входу запускає звичайний тунельник замість керованого акаунтом, шукає .conf, якого ніхто не писав, і контейнер завершується з fvpn0 never appeared. Монтування — інша критична частина: образ — це scratch, тож після перезапуску нічого не зберігається, крім змонтованого, а втрата монтування машинного ключа означає, що роутер повернеться як цілком новий пристрій, який непомітно відпав від вашого акаунта.
Перший запуск
Перший запуск
01
Прочитайте код прив’язки
Він виводиться в /log, а роутер віддає сторінку стану за адресою http://172.31.254.2/.
02
Введіть його в застосунку
Відкрийте ForestVPN на телефоні, де ви ввійшли, і введіть код. Прив’язка робиться із застосунку, а не з роутера.
03
Оберіть вихід
На сторінці стану торкніться локації.
Що працює на MikroTik
Що працює на MikroTik
Увесь роутер — один тунель
Контейнер пропускає крізь тунель те, що йому передає RouterOS. Який саме це трафік, вирішує RouterOS.
Закріплений образ
Встановлення використовує фіксований тег образу, ніколи не :latest, щоб роутер, біля якого ви не стоїте, не змінював мовчки те, що запускає.
Плати з папкою flash
Плати на кшталт hAP ac² після перезавантаження зберігають лише папку flash. Блок встановлення це враховує.
Поки що немає на MikroTik: вибору сайтів чи сервісів за призначенням із самого ForestVPN. Рішення про маршрутизацію ухвалює RouterOS.
If ForestVPN stops, for example when the router runs short of memory, it now starts again within a minute instead of staying off until the router restarts.
To stop ForestVPN on purpose, run /system/scheduler/disable forestvpn-watch first, or it starts again within a minute.
To update an existing router, paste the install command from the download page again. The router keeps its device and its account.
0.7.0
A router that stayed on "Connecting" after a plan limit was lifted now reconnects by itself.
Reconnect always starts a new connection.
Faster, steadier connections on restricted networks, and Smart keeps a place that works.
To update an existing router, follow "Update the ForestVPN container on MikroTik".
0.6.1
Fewer needless route changes when the router itself refuses outgoing traffic.
To update an existing router, follow "Update the ForestVPN container on MikroTik".
Tested for an hour on an arm64 MikroTik router before release, with no reconnects.
Образ — suquant/fvpn:0.9.0. Тег закріплений і опублікований на Docker Hub; блок встановлення використовує саме цей тег.
Видалення
Видалення
Зупиніть і видаліть контейнер командами /container/stop і /container/remove, потім видаліть його veth та адресу, а також правила скрипта маршрутизації (їхні коментарі починаються з forestvpn). Пристрій лишається у вашому акаунті, доки ви не приберете його в застосунку.
Поширені запитання
Які роутери MikroTik працюють?
Будь-який роутер з RouterOS 7.21 або новішою та пакетом container. Образ збирається для arm, arm64 і x86 та перевірений на справжньому обладнанні arm64.
Чи потрібен мені диск?
Ні, для простого контейнерного встановлення, показаного тут. Плати з папкою flash після перезавантаження зберігають лише цю папку, і блок це враховує.
Чи безпечно використовувати :latest?
Ні. Встановлення закріплює тег образу, щоб роутер, біля якого ви не перебуваєте, не змінював мовчки те, що запускає.