vmware-tanzu-labs / educates-training-platform

A platform for hosting interactive workshop environments in Kubernetes, or on top of a local container runtime.
https://docs.educates.dev
Apache License 2.0
63 stars 14 forks source link

Cluster only create files when busybox not already pulled. #452

Closed GrahamDumpleton closed 1 week ago

GrahamDumpleton commented 1 week ago

Describe the bug

Cluster only create files when busybox not already pulled.

% educates create-cluster --cluster-only
Error: couldn't test whether ports 80/443 available: cannot create busybox container: Error response from daemon: No such image: busybox:latest

Necessary to run:

docker pull busybox:latest

first.

Additional information

No response

GrahamDumpleton commented 1 week ago

Will work when --verbose flag is used.

So appears that in:

    if verbose {
        io.Copy(os.Stdout, reader)
    }

you can't avoid copying stdout stream for it to work.