I am new to docker and i was trying to update Ubuntu and install Apache 2 on an Ubuntu container as well with dockerfile commands but this error on the attached image keeps showing up.
How do I get this fixed? Here is the error message:
My dockerfile instructions are below:
FROM ubuntu
RUN apt-get update
RUN apt-get -y install apache2
ADD . /var/www/html
ENTRYPOINT apachectl -D FOREGROUND
ENV name Pope..
apt install -y apache2
– Nate Sep 02 '20 at 15:39ubuntu:latest
in your Dockerfile and then rebuild it again. – moep Sep 02 '20 at 17:13