Vagrant is a tool to manage virtual machine-based development environments. Vagrant Boxes are pre-built base images that can be imported into Vagrant as a starting point. Read more about Vagrant here. On this page Oracle publishes Vagrant boxes based on Oracle Linux.
You will need the following software installed on your machine. Check the minimum required versions in the Vagrant Box description.
These boxes are configured as follows:
Box | Kernel | Size (MB) | Date added | SHA256 Checksum |
---|
Box | Kernel | Size (MB) | Date added | SHA256 Checksum |
---|
Create a working directory for your development project and from within that directory, issue the following commands, subsituting the url for one of the following, depending on the release of Oracle Linux you want:
$ vagrant init oraclelinux/{release} <box json url>
$ vagrant up
$ vagrant ssh
For example:
$ vagrant init oraclelinux/8 https://oracle.github.io/vagrant-projects/boxes/oraclelinux/8.json
$ vagrant up
$ vagrant ssh
To launch an Oracle Linux 8 box with Btfs root filesystem :
$ vagrant init oraclelinux/8-btrfs https://oracle.github.io/vagrant-projects/boxes/oraclelinux/8-btrfs.json
$ vagrant up
$ vagrant ssh
To check whether an of your installed boxes have available updates:
$ vagrant box outdated --global
To update an Vagrant box to the latest available version:
$ vagrant box update --box oraclelinux/9
Example Vagrant projects that provision Oracle products including Oracle Database, Oracle Dataguard, Oracle Real Application Clusters, Oracle Container Services for Kubernetes, and more are available on github.com/oracle
These Vagrant Boxes are provided as is, free of charge and without support from Oracle. Peer support is available in the Oracle Linux space on the Oracle Developer Community.