Error response from daemon: Get «https://registry-1.docker.io/v2/»: proxyconnect tcp: dial tcp 192.168.65.1:3128: connect: connection refused

This problem is solved by following steps:

  1. Open «Windows Security»;
  2. Open «App & Browser control»;
  3. Click «Exploit protection settings» at the bottom;
  4. Switch to «Program settings» tab;
  5. Locate «C:\WINDOWS\System32\vmcompute.exe» in the list and expand it;
  6. You would see the box «system overriding» under «Control Flow Guard (CFG)» is checked, disable it. If what you see is different with description here, maybe what described here is not applicable for you.

Reference here.

Установка docker-ce в Ubuntu 18.04 нарушает подключение к Интернету хоста

/etc/docker/daemon.json                                                                                                                                                          
{
  "bip": "172.31.0.1/16"
}

systemd-resolve --status предоставил мне DNS-сервер 192.168.3.56 и ifconfig docker0 выдал мне: inet 192.168.65.2 netmask 255.255.0.0 broadcast 192.168.255.255 Все, что мне нужно было сделать, это добавить / etc / docker / daemon.json, как указано выше, и перезапустите docker

Статьи:

  • https://superuser.com/questions/1336567/installing-docker-ce-in-ubuntu-18-04-breaks-internet-connectivity-of-host
  • https://forums.docker.com/t/cant-access-internet-after-installing-docker-in-a-fresh-ubuntu-18-04-machine/53416/7

Краткая справка по работе с docker

Основано на видеоуроках с youtube.

Запуск контейнера

docker run -d -p 80:80 docker/getting-started
  • -d — работа в фоне (не блокируется terminal)
  • -p 80:80 привязка портов (проброс)

Просмотр образов

docket images
REPOSITORY               TAG       IMAGE ID       CREATED        SIZE
docker/getting-started   latest    3e4394f6b72f   2 months ago   47MB
Читать далее «Краткая справка по работе с docker»