Docker level 2 last task is showing error at the end of build process


Hi @shiva12

Looking at your screenshots it seems your usage of the sed command is incorrect.

The sed commands require a pattern and the replacement to the file on which the substitution needs to be performed, something like sed 's/pattern/replacement/' filename.txt
But your command provides only one argument.

To get the Docker build with the Dockerfile working try:
sed -i 's/Listen 80/Listen 8089/g /etc/apache2/ports.conf`

Hope this helps!

1 Like

thank u very much santosh sir