https://github.com/techiescamp/docker-course
https://github.com/techiescamp/docker-course
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/techiescamp/docker-course
- Owner: techiescamp
- Created: 2025-02-18T06:46:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-19T04:03:16.000Z (over 1 year ago)
- Last Synced: 2025-04-24T01:49:02.235Z (over 1 year ago)
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-course
## Install Latest VirtualBox
> Note: You should have admin permission in your workstation to make Virtaualbox work.
Download and install virtual box from https://www.virtualbox.org/wiki/Downloads
## Install Vagrant
Install Vagrant followin insructions from https://developer.hashicorp.com/vagrant/downloads
## Restart the System
Once all the installation is done, restart the system.
## Bring up the VM
Clone the docker course repo.
```
git clone https://github.com/techiescamp/docker-course.git
```
Now, open the terminal and cd in the docker-course/lab-setup.
```
cd docker-course/lab-setup
```
Execute the following command to bring up the VMs
```
vagrant up
```
Check the vm status using the following command. You should see VM in running state.
```
vagrant status
```
Once the VMs are up, you cna login to the VM using the VM name.
```
vagrant ssh Docker
```
## Halt the VMs
When you are not using the setup, you can halt the VMS to free up the CPU and memory in your system using the halt command.
```
vagrant halt
```
## Destroy the setup
You can destroy the VMs usin the following command.
```
vagrant destroy -f
```