In this step, we will push the container image to the Lightsail store in preparation for deployment to your Lightsail container service.
sudo aws lightsail push-container-image --service-name lightsail-container --label nginx-container-hello --image nginx-container
After successful push, Lightsail result will return as below.
Image "nginx-container" registered.
Refer to this image as ":lightsail-container.nginx-container.hello.1" in deployments.
If you run the command multiple times, push an image multiple times, the number after the image name will increase the sequence number by the number of times you do the push.