If your docker image is not public, then you will need to configure a secret so that the image can be pulled.

meshagent secret docker create --name "my-image-secret" --server "index.docker.io" --username "my-username" --password "my-password"