Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Installing Java is done as follows:

Code Block
languagebash
sudo apt-get install software-properties-common -y

...


sudo add-apt-repository ppa:webupd8team/java -y

...


sudo apt-get update

...


sudo apt-get install oracle-java8-installer oracle-java8-set-default -y

 

If you would like your containers to be automatically started on boot, you'll need to add the following line to /var/lib/lxc/NAME/config, where NAME is your container's name. By the way, on my system the /var/lib/lxc directory is only accessible by root.

...