Deploy a "hello-world" docker image to Amazon Elastic Compute Cloud (ec2).
7.0K
Deploy a "hello-world" docker image to Amazon Elastic Compute Cloud (ec2).
To run on your machine, I suggest,
docker run --name hello-go-deploy-amazon-ec2 -dit jeffdecola/hello-go-deploy-amazon-ec2
To see the output,
docker logs hello-go-deploy-amazon-ec2
To bash shell in the container,
docker exec -i -t hello-go-deploy-amazon-ec2 /bin/bash
Written in go, every 2 seconds hello-go will print:
Hello everyone, count is: 1
Hello everyone, count is: 2
Hello everyone, count is: 3
etc...
Content type
Image
Digest
sha256:d6b0517a1…
Size
7.2 MB
Last updated
over 3 years ago
docker pull jeffdecola/hello-go-deploy-amazon-ec2