-
Clone this repository
SSH:
$ git clone [email protected]:Scopics/IWA-lab1.git
HHTP:
$ git clone https://github.com/Scopics/IWA-lab1.git
-
Change working directory
$ cd IWA-lab1
-
Run command to create Docker image
$ docker build -t iwa-lab-1 .
-
Run Docker container
$ docker run -it -p 8080:80 --name iwa-lab-1 <IMAGE_ID>
-
Run command to create and configure guest machine according to Vagrantfile
$ vagrant up
-
If you want to create a box (only VirtualBox) based on this virtual machine (NAME should be the name or UUID of the machine from the VirtualBox GUI)
$ vagrant package
- Go to
localhost:8080
in your browser