Containers can't communicate nor connect to internet

I just installed Pop!_OS 22.04 LTS, and then I installed Docker Desktop following the official guides found in the docs for docker desktop for ubuntu

Full steps I have done:

  1. $ sudo apt-get update
  2. $ sudo apt-get install
  3. $ sudo mkdir -p /etc/apt/keyrings
  4. $ curl -fsSL | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
  5. $ echo
    “deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] Index of linux/ubuntu/
    $(lsb_release -cs) stable” | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
  6. Download docker-desktop-4.13.0-amd64.deb
  7. $ sudo apt-get update
  8. $ sudo apt-get install ./docker-desktop-4.13.0-amd64.deb
  9. Start up Docker Desktop
  10. $ docker run --rm bash ping -c 4 google . com

Which results in these logs:

PING ( 56 data bytes

4 packets transmitted, 0 packets received, 100% packet loss

There is a space in the google link in step 10 because I can’t post more than 2 links in my posts in this forums