This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/system/device-mode/update container=yes | |
/interface veth add address=172.17.0.1/24 gateway=172.17.0.254 name=agh | |
/interface bridge add name=dockers | |
/interface bridge port add bridge=dockers interface=agh | |
/ip address add address=172.17.0.254/24 interface=dockers network=172.17.0.0 | |
/ip firewall nat add action=masquerade chain=srcnat | |
/container config set registry-url=https://registry-1.docker.io tmpdir=/disk1/tmp |