This is a tutorial on how to set up docker for LevelUp Academy.
Please do this as soon as possible so that we are all on the same page and nobody gets left behind in the wild sea of docker environments π
Nothing needs to be done, the VM has already been configured for you π
Itβs important to get things right when installing Docker on Ubuntu. Getting it wrong can cause permissions to go hay-wire and cause trouble down the road.
Unfortunately the official guide from the Docker website is not the greatest.
Luckily there is a high-quality guide how to do this on Ubuntu: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04
Should be very straightforward, follow the official guide: https://docs.docker.com/desktop/install/mac-install/
Note: make sure you figure out correctly which chip you have in your mac (Intel vs M1) as installing the wrong version harms performance and stability (if it even works at all).
In very basic words why do you as a LevelUp student need docker:
Docker helps us clone the development environments of existing projects so onboarding new developers are much faster. If we were not using docker you would need to set up Laravel and Vue on your own and do numerous terminal commands. With docker, we automate that for you so onboarding is much faster and easier. The other benefit is that everybody is working on same machine so code will work the same on Mac, Linux or Windows.
Purpose of Docker: Its primary focus is to automate the deployment of applications inside software containers and the automation of operating system level virtualization on Linux. It's more lightweight than standard Containers and boots up in seconds.
Docker: A docker container, unlike a virtual machine and container, does not require or include a separate operating system. Instead, it relies on the Linux kernel's functionality and uses resource isolation.
VM: Using virtual machine (VM) software, for example, Ubuntu can be installed inside a Windows. And they would both run at the same time. It is like building a PC, with its core components like CPU, RAM, Disks, Network Cards etc, within an operating system and assemble them to work as if it was a real PC. This way, the virtual PC becomes a "guest" inside an actual PC which with its operating system, which is called a host.