yes, you absolutely right - I can not get access to internet from the container.
docker run -it ubuntu /bin/bash
root@656f47f21f17:/# apt-get update
Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Temporary failure resolving 'archive.ubuntu.com'
I think problem with DNS resolver. How to fix it?