Package manager commands -
# Update installed packages
sudo apt-get update &&
sudo apt-get -y upgrade
# Fix & Cleanup Up Apt Packages, etc. -
sudo apt-get -f install &&
sudo apt-get autoremove &&
sudo apt-get -y autoclean &&
sudo apt-get -y clean
# Show packages manually installed
zgrep 'Commandline: apt' /var/log/apt/history.log /var/log/apt/history.log.*.gz
Storage commands -
# Create a volume to use in the container(s) and then list it
lxc storage volume create default removable
lxc storage volume list default
# Then attach new volume to container(s)
lxc storage volume attach default removable penguin /data
lxc storage volume attach default removable stretch /data
# Configure the container to run with host-equivalent privileges... (removed)
lxc config set stretch security.privileged true
lxc config set MrUrbanity security.privileged true
# Mount & share the 'lxd_conf' directory in your containers with:
lxc config device add penguin lxd-conf disk source=$LXD_CONF path=/mnt/lxd_conf
> Device lxd-conf added to penguin
lxc config device add stretch lxd-conf disk source=$LXD_CONF path=/mnt/lxd_conf
> Device lxd-conf added to stretch
Package manager commands -
# Update installed packages
# Fix & Cleanup Up Apt Packages, etc. -
# Show packages manually installed
Storage commands -
# Create a volume to use in the container(s) and then list it
# Then attach new volume to container(s)
# Configure the container to run with host-equivalent privileges...(removed)# Mount & share the 'lxd_conf' directory in your containers with: