try:
docker run -it --rm ubuntu bin/bash
% ping google.com
you can force a dns if needed in the docker conf https://docs.docker.com/reference/commandline/cli/#daemon
try:
docker run -it --rm ubuntu bin/bash
% ping google.com
you can force a dns if needed in the docker conf https://docs.docker.com/reference/commandline/cli/#daemon