Pull the PodArmor Go Image
Pull the PodArmor Go image using the following command, with the version you want to use:Create a Go application container
1
Create a Go application container
Create a new directory
mkdir go-quickstart && cd go-quickstart and create a main.go file with the following content:2
Create go.mod file
Create a
go.mod file with the following content:3
Create a Dockerfile
Create a
Dockerfile with the following content:4
Build the Docker image
Build the Docker image using the following command:
5
Run the Docker container
Run the Docker container using the following command: