我正在尝试通过docker实现stackdriver,但出现错误
oci运行时错误:container_linux.go:247:启动容器进程导致“ exec:\” sudo \”:在$ PATH中找不到可执行文件”
这是我的Docker文件
FROM python:3
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV PATH="/usr/bin:${PATH}"
RUN ["curl","-sSO","https://dl.google.com/cloudagents/install-monitoring-agent.sh"]
COPY /install-monitoring-agent.sh /usr/bin
RUN ["sudo","chmod", "+x", "/home/hemanthsai1234u/install-monitoring-agent.sh"]
RUN ["sudo","service","stackdriver-agent","restart"]
EXPOSE 8000