Hello,
I wanted to know how to install and start the agent ops service in a docker container.
Do you have any suggestion please ?
Please find my Dockerfile :
Use an official Ubuntu runtime as a parent image
FROM ubuntu:latest
Install necessary dependencies
RUN apt-get update &&
apt-get install -y curl
Download and install the Ops Agent
RUN curl -sSO https://dl.google.com/cloudagents/add-google-cloud-ops-agent-repo.sh &&
bash add-google-cloud-ops-agent-repo.sh --also-install
Cleanup
RUN rm add-google-cloud-ops-agent-repo.sh &&
apt-get clean &&
rm -rf /var/lib/apt/lists/*
I will need to use after on Kubernete with an deployment.yaml file.
Thank you