Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /interface veth add name=veth1 address=172.18.120.2/24 gateway=172.18.120.1
- 3. bikin interface bridge
- /interface bridge
- add name=bridge-container
- 4. bikin bridge port veth
- /interface bridge port
- add bridge=bridge-container interface=veth1
- 5. tambahkan ip untuk interface bridge-container
- /ip address add address=172.18.0.1/24 interface=bridge-container
- 6. proses install bind9 di container mikrotik
- /container/add file=bind9.tar root-dir=container/bind9 interface=veth1 hostname=bind9 logging=yes
- 7. check nomor ID container dan jalankan berdasarkan nomor ID containernya.
- /container print
- /container start 0
- docker pull nevergone/php-apache:7.4-latest
- /container/mount/add name=data src=/data dst=/data
- /container/mounts/add name=etc src=container/etc dst=/etc
- /container/mounts/add name=htdocs src=htdocs dst=/var/www/html
- /container/add file=webserver.tar root-dir=container/webserver interface=veth1 hostname=webserver logging=yes
- /container/add file=alpine-apache.tar root-dir=container/alpine-apache interface=veth1 hostname=alpine-apache logging=yes
- /container/add file=server.tar root-dir=container/webserver interface=veth1 mount=data hostname=webserver logging=yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement