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
root@turrisOS:~# lxc-attach -n alpinelxccontainer | |
root@alpinelxccontainer:~# mount -t proc proc /proc | |
root@alpinelxccontainer:~# ifconfig eth0 192.168.1.201 netmask 255.255.255.0 up | |
root@alpinelxccontainer:~# echo "nameserver 8.8.8.8" > /etc/resolv.conf | |
root@alpinelxccontainer:~# route add default gw 192.168.1.1 | |
root@alpinelxccontainer:~# apk update | |
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/main/armhf/APKINDEX.tar.gz | |
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/community/armhf/APKINDEX.tar.gz |