Deployment of Amazon Linux 2 on Lightsail Container is getting cancelled

Viewed 51

I wanted to deploy the "Amazon Linux 2"-image (public.ecr.aws/amazonlinux/amazonlinux:2022) on a Lightsail Container.

It takes a while and then the deployment is getting cancelled. This is the log output:

`[19/Aug/2022:12:07:25] [deployment:1] Creating your deployment
[19/Aug/2022:12:08:48] [deployment:1] Started 1 new node
[19/Aug/2022:12:09:57] [deployment:1] Started 1 new node
[19/Aug/2022:12:10:56] [deployment:1] Started 1 new node
[19/Aug/2022:12:11:23] [deployment:1] Canceled
`

I have no idea why this is happening. Any help is greatly appreciated.

Best Regards

Frank

1 Answers

You need to specify a running task (so an ENTRYPOINT or COMMAND), which keeps the docker container on. See also this AWS re:Post

Related