spinkube / documentation

Site and Docs for the SpinKube community project
https://www.spinkube.dev/
Apache License 2.0
13 stars 21 forks source link

Docker Desktop tutorial issue(s) #169

Open vdice opened 1 month ago

vdice commented 1 month ago

I recently followed the Docker Desktop tutorial and successfully get to the Deploying our Spin App to Docker.

Once there, docker push vdice/hello-docker fails with:

$ docker push vdice/hello-docker
Using default tag: latest
The push refers to repository [docker.io/vdice/hello-docker]
tag does not exist: vdice/hello-docker:latest

Should I be pushing the app via spin registry push vdice/hello-docker instead?

When I try that, I get to the spin kube deploy --from docker.io/vdice/hello-docker step and the SpinApp is created on the cluster but the pod is stuck ContainerCreating with:

Events:
  Type     Reason                  Age   From               Message
  ----     ------                  ----  ----               -------
  Normal   Scheduled               9s    default-scheduler  Successfully assigned default/hello-docker-6577bd5fb9-6h75h to docker-desktop
  Warning  FailedCreatePodSandBox  9s    kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = RuntimeHandler "spin" not supported

So maybe indeed I do need to docker push the app? Is the tutorial missing any steps -- or perhaps user error on my end? Would appreciate help double-checking the guide and comparing notes. cc @tpmccallum

kedaarsridhar20 commented 1 month ago

I faced the same issue as @vdice while following the Docker Desktop tutorial. My docker push command failed with the tag error during the deployment phase as well.

codeitlikemiley commented 1 month ago

probably same issue im facing https://github.com/spinkube/documentation/issues/173