(For your own privacy and security, please do not post your full, unsanitised debug log output. When providing a debug token, please post just the token that is shown once the debug finishes, preferably by copy and paste.)
Also, you are trying to tamper with the Docker image in ways not advisable, e.g. by running updates on your Pi-hole or its OS from within the container:
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
root@pihole:/# sudo !!
sudo apt-get update
Note that any such changes you apply to a container would not survive a container restart.
In addition, you seem to have altered some of Pi-hole's default web server's configurations:
That's a warning from sudo, it doesn't actually stop or break anything. sudo tries to look up the host name since you can have per host sudo rules. Easy solution to that is to put pitron in your /etc/hosts file with localhost as the address.