Docker Community Forums

Share and learn in the Docker community.

Packaging AWS CloudWatch agent into docker


(Tradbot) #1

I am trying to package AWS CloudWatch agent into docker container. The docker build runs into the following error -

Failed to connect to bus: No such file or directory
unknown init system

Here is the snippet from Dockerfile -

FROM ubuntu:16.04
    apt-get -y update && \
    apt-get -y install wget && \
    apt-get -y install unzip
    wget && \
    unzip && \

What is missing or wrong here? Any help is appreciated. Thanks in advance!