In one to many relations it’s optional, it could be nullable in case you want to allow creating models without relation (example a user doesn’t have a car yet. But once it has one will be attached to it). However in many to many relations it usually required, so cannot be nullable.
It doesn’t make sense to install Docker inside Vagrant!! I can simply install Docker on my machine and start working. Vagrant in that case is just acting as a useless layer!
Docker is doing great job as Development Environment and in my opinion it’s beating Vagrant, for the speed and the easiness of turning software’s up and…
Nice article, I am using LaraDock (Laravel + Docker) It helps running Laravel Apps on Docker real quick.
It’s like Laravel Homestead but for Docker instead of Vagrant. https://github.com/LaraDock/laradock