Notes working my way through the book
Chapter 1
Under Building Hello Go on page 23 The second curl example is incorrect
curl localhost:8180
Hello, you requested: /test
should be
curl localhost:8180/test
Hello, you requested: /test
Under Building the Hello Go container in Minikube on page 28 The link at the bottom returns 404: https://minikube.sigs.k8s.io/docs/start/linux/
On page 29
$ eval $(minikube docker-env)
but in Windows it's
@FOR /f "tokens=*" %i IN ('minikube -p minikube docker-env') DO @%i
possibly suggest minikube docker-env to get the command relevant to your OS.
Marking that first issue as a bug—for the second, what syntax is that? If PowerShell, I explicitly don't directly support PowerShell in all my examples. I often recommend WSL2 just because it would be incredibly painful to try to match all commands between Windows/PowerShell and [everything else].
Yeah it's Windows command line. My WSL2 was broken so I installed the Windows ver alongside my windows ver of Docker desktop and had this issue. I think using Minikube docker-env is quite nice as it outputs the right command for the user's OS. I guess it depends if it's worth it given this shouldn't happen in WSL2.