Linux Containers sur malaka
NAME | IP | OS | SERVICES | MAINTAINERS |
dns | 10.13.13.1 | Debian jessie | powerdns | pistache, lk |
lebib.org | 10.13.13.2 | Debian wheezy | apache, postfix, openvpn | pistache, lk |
munin | 10.13.13.3 | Debian wheezy | munin | lk |
Documentation
Creation d'un container
lxc-create -n container_name -t debian
lxc-start -n container_name -d
lxc-attach -n container_name
export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin
apt-get update
apt-get install openssh-server sudo locales
dpkg-reconfigure locales tzdata
adduser user_name
adduser user_name sudo
passwd -l
exit
ssh user_name@container_ip