Stuck on first Kubernetes challenge

In the first Kube challenge, we’re asked to set a container name when creating a kubernetes pod. However, my understanding is that is only possible via yaml file, not via kubectl. Is there something I’m missing?

As I remember, in this task you must make yaml file with k8s pod and apply it.
So write container name in this file.

Thanks! I went back and created a yaml file from the command line