It will also be necessary to create a bridge interface in order to connect the container to the network. Specify the interface name, address and gateway.Ĭommand to add an interface via the terminal /interface/veth/add name=veth1 address=172.17.0.2/24 gateway=172.17.0.1 Setting up the network to install a Docker containerįor each container that will be installed in the system we need to create a virtual interface VETH. Perform another reboot.Īfter rebooting you will have a new Container menu item. After downloading the file, restart the virtual machine or router (System – Reboot), the add-on will be installed automatically.Īfter restarting RouterOS, open a new terminal window and run the command that activates the container mode /system/device-mode/update container=yesĪfter executing this command we will need to reboot the router again, we have 5 minutes to do this. Unpack the downloaded archive and download the file named container. The standard set of installed RouterOS add-ons does not include the container add-on and in order to add it, you need to go to the official website of mikrotik and in the software section to download the add-on set Extra packages pre-selecting the architecture where RouterOS is installed.įor RouterOS which is installed on the VPS it is X86. Support for Docker containers appeared in RouterOS 7.5, if your operating system version is lower you need to upgrade to the latest version. Preparing RouterOS to install Docker containers
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |