Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
| Vagrant.configure(2) do |config| | |
| ... | |
| id_rsa_pub = File.read("#{Dir.home}/.ssh/id_rsa.pub") | |
| config.vm.provision "copy ssh public key", type: "shell", | |
| inline: "echo \"#{id_rsa_pub}\" >> /home/vagrant/.ssh/authorized_keys" | |
| end |
| version: '2' | |
| services: | |
| api: | |
| volumes: | |
| - "nfsmount:${CONTAINER_DIR}" | |
| volumes: | |
| nfsmount: | |
| driver: local | |
| driver_opts: |
Export your public key:
keybase pgp export > keybase-public.key
Export your private key:
keybase pgp export --secret > keybase-private.key
Mac OS X system settings > Security & Privacy > privacy tab
Select Full Disk Access and click plus icon.
Add terminal in the list ( in my case iTerm)
Restart iTerm
Run command in iterm: $ cd /private/etc && sudo touch ./exports
Start virtual machine trough vargrant: Profit
This is tested with Traefik 1.7
This is how to redirect the root or base path to a sub path in Traefik using Docker labels:
Goals
https://example.com -> https://example.com/abc/xyz/https://example.com/ -> https://example.com/abc/xyz/https://example.com/something -> no redirect