Creating the Ubuntu Container
Using NFS within a Container
By default, containers cannot use NFS. To enable NFS for a container:
Gaining Access to the Ubuntu Container with noVNC Console
Basic Setup Script
#!/bin/bash
#
#
### Set static ip for eth0 ###
#echo -e "auto eth0
#iface eth0 inet static
# address
# netmask
# network
# gateway
# broadcast " >> /etc/network/interfaces
### Bring up eth0 ###
#ifup eth0
### Set archive mirror ###
echo -e "deb http://mirror.glendaleacademy.org/ubuntu trusty main restricted universe
deb http://mirror.glendaleacademy.org/ubuntu trusty-updates main restricted universe
deb http://mirror.glendaleacademy.org/ubuntu trusty-security main restricted universe multiverse
deb http://mirror.glendaleacademy.org/partner trusty partner" > /etc/apt/sources.list
### Install utilities to make the server easier to use ###
apt-get update
apt-get install man-db sudo dialog nano bsdutils language-pack-en apt-utils -y
### Add admin user (assuming hostname = username) ###
useradd -m $HOSTNAME -G sudo
echo $HOSTNAME:[new password] | chpasswd
chsh -s /bin/bash $HOSTNAME
### Set timezone ###
echo "America/Los_Angeles" | tee /etc/timezone
dpkg-reconfigure --frontend noninteractive tzdata
### Create history file ###
echo "HISTFILE=~/.bash_history" >> ~/.bashrc