странное поведение докера после установки TUN device
Форум — Admin
всем привет, есть сервер в котором в докере крутилось 3x-ui, решил поставить openvpn, не в докере, при установке openvpn была ошибка
TUN needs to be enabled before running this installer.
на реддите нашел решение (https://www.reddit.com/r/Proxmox/comments/w9rznq/trouble_installing_openvpn_cant_get_tun_device/)
mkdir -p /dev/net
mknod /dev/net/tun c 10 200
chmod 600 /dev/net/tun
после этого (после установки openvpn и перезагрузки) не запускается докер
root@28130-47371:~# docker ps -a
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
root@28130-47371:~# systemctl status docker.service
× docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2024-10-14 08:41:30 UTC; 2min 22s ago
TriggeredBy: × docker.socket
Docs: https://docs.docker.com
Process: 1559 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/F>
Main PID: 1559 (code=exited, status=1/FAILURE)
Oct 14 08:41:28 28130-47371.bacloud.info systemd[1]: Failed to start Docker Application Container Engine.
Oct 14 08:41:30 28130-47371.bacloud.info systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Oct 14 08:41:30 28130-47371.bacloud.info systemd[1]: Stopped Docker Application Container Engine.
Oct 14 08:41:30 28130-47371.bacloud.info systemd[1]: docker.service: Start request repeated too quickly.
Oct 14 08:41:30 28130-47371.bacloud.info systemd[1]: docker.service: Failed with result 'exit-code'.
Oct 14 08:41:30 28130-47371.bacloud.info systemd[1]: Failed to start Docker Application Container Engine.
Notice: journal has been rotated since unit was started, output may be incomplete.
самое странное что клиенты продолжают подключаться к серверу 3x-ui (но работают не все протоколы подключения) и работать, но web-панель не работает, может кто сталкивался с чем-то подобным?
логи докера
Oct 14 08:06:26 28130-47371.bacloud.info systemd[1]: Failed to start Docker Application Container Engine.
Oct 14 08:15:59 28130-47371.bacloud.info systemd[1]: Starting Docker Application Container Engine...
Oct 14 08:16:02 28130-47371.bacloud.info dockerd[693]: time="2024-10-14T08:16:02.473774844Z" level=info msg="Starting up"
Oct 14 08:16:02 28130-47371.bacloud.info dockerd[693]: time="2024-10-14T08:16:02.481043990Z" level=info msg="detected 127.0.0.53 nameserver, assuming systemd-resolved, so >
Oct 14 08:16:02 28130-47371.bacloud.info dockerd[693]: time="2024-10-14T08:16:02.722234287Z" level=info msg="[graphdriver] using prior storage driver: overlay2"
Oct 14 08:16:02 28130-47371.bacloud.info dockerd[693]: time="2024-10-14T08:16:02.739135202Z" level=info msg="Loading containers: start."
Oct 14 08:16:02 28130-47371.bacloud.info dockerd[693]: time="2024-10-14T08:16:02.946729688Z" level=warning msg="could not create bridge network for id 681519d2690eee5b975c>
Oct 14 08:16:02 28130-47371.bacloud.info dockerd[693]: time="2024-10-14T08:16:02.965185775Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17>
Oct 14 08:16:02 28130-47371.bacloud.info dockerd[693]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: Failed to Se>
Oct 14 08:16:02 28130-47371.bacloud.info dockerd[693]: (exit status 4))
Oct 14 08:16:02 28130-47371.bacloud.info systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Oct 14 08:16:02 28130-47371.bacloud.info systemd[1]: docker.service: Failed with result 'exit-code'.
Oct 14 08:16:02 28130-47371.bacloud.info systemd[1]: Failed to start Docker Application Container Engine.
Oct 14 08:16:05 28130-47371.bacloud.info systemd[1]: docker.service: Scheduled restart job, restart counter is at 1.
Oct 14 08:16:05 28130-47371.bacloud.info systemd[1]: Stopped Docker Application Container Engine.
Oct 14 08:16:05 28130-47371.bacloud.info systemd[1]: Starting Docker Application Container Engine...
Oct 14 08:16:05 28130-47371.bacloud.info dockerd[1021]: time="2024-10-14T08:16:05.360165790Z" level=info msg="Starting up"
Oct 14 08:16:05 28130-47371.bacloud.info dockerd[1021]: time="2024-10-14T08:16:05.362991736Z" level=info msg="detected 127.0.0.53 nameserver, assuming systemd-resolved, so>
Oct 14 08:16:05 28130-47371.bacloud.info dockerd[1021]: time="2024-10-14T08:16:05.521590970Z" level=info msg="[graphdriver] using prior storage driver: overlay2"
Oct 14 08:16:05 28130-47371.bacloud.info dockerd[1021]: time="2024-10-14T08:16:05.524571969Z" level=info msg="Loading containers: start."
Oct 14 08:16:05 28130-47371.bacloud.info dockerd[1021]: time="2024-10-14T08:16:05.953705793Z" level=warning msg="could not create bridge network for id 681519d2690eee5b975>
Oct 14 08:16:05 28130-47371.bacloud.info dockerd[1021]: time="2024-10-14T08:16:05.957233267Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.1>
Oct 14 08:16:05 28130-47371.bacloud.info dockerd[1021]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: Failed to S>
Oct 14 08:16:05 28130-47371.bacloud.info dockerd[1021]: (exit status 4))
Oct 14 08:16:05 28130-47371.bacloud.info systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Oct 14 08:16:05 28130-47371.bacloud.info systemd[1]: docker.service: Failed with result 'exit-code'.
Oct 14 08:16:05 28130-47371.bacloud.info systemd[1]: Failed to start Docker Application Container Engine.
Oct 14 08:16:07 28130-47371.bacloud.info systemd[1]: docker.service: Scheduled restart job, restart counter is at 2.
Oct 14 08:16:07 28130-47371.bacloud.info systemd[1]: Stopped Docker Application Container Engine.
Oct 14 08:16:07 28130-47371.bacloud.info systemd[1]: Starting Docker Application Container Engine...
Oct 14 08:16:08 28130-47371.bacloud.info dockerd[1066]: time="2024-10-14T08:16:08.152302753Z" level=info msg="Starting up"
Oct 14 08:16:08 28130-47371.bacloud.info dockerd[1066]: time="2024-10-14T08:16:08.153485999Z" level=info msg="detected 127.0.0.53 nameserver, assuming systemd-resolved, so>
Oct 14 08:16:08 28130-47371.bacloud.info dockerd[1066]: time="2024-10-14T08:16:08.222269603Z" level=info msg="[graphdriver] using prior storage driver: overlay2"
Oct 14 08:16:08 28130-47371.bacloud.info dockerd[1066]: time="2024-10-14T08:16:08.224782550Z" level=info msg="Loading containers: start."
Oct 14 08:16:08 28130-47371.bacloud.info dockerd[1066]: time="2024-10-14T08:16:08.573684487Z" level=warning msg="could not create bridge network for id 681519d2690eee5b975>
Oct 14 08:16:08 28130-47371.bacloud.info dockerd[1066]: time="2024-10-14T08:16:08.577304024Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.1>
Oct 14 08:16:08 28130-47371.bacloud.info dockerd[1066]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: Failed to S>
Oct 14 08:16:08 28130-47371.bacloud.info dockerd[1066]: (exit status 4))
Oct 14 08:16:08 28130-47371.bacloud.info systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Oct 14 08:16:08 28130-47371.bacloud.info systemd[1]: docker.service: Failed with result 'exit-code'.
Oct 14 08:16:08 28130-47371.bacloud.info systemd[1]: Failed to start Docker Application Container Engine.
Oct 14 08:16:10 28130-47371.bacloud.info systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Oct 14 08:16:10 28130-47371.bacloud.info systemd[1]: Stopped Docker Application Container Engine.
Oct 14 08:16:10 28130-47371.bacloud.info systemd[1]: docker.service: Start request repeated too quickly.
Oct 14 08:16:10 28130-47371.bacloud.info systemd[1]: docker.service: Failed with result 'exit-code'.
Oct 14 08:16:10 28130-47371.bacloud.info systemd[1]: Failed to start Docker Application Container Engine.
Oct 14 08:17:12 28130-47371.bacloud.info systemd[1]: Starting Docker Application Container Engine...
Oct 14 08:17:12 28130-47371.bacloud.info dockerd[1155]: time="2024-10-14T08:17:12.464911516Z" level=info msg="Starting up"
Oct 14 08:17:12 28130-47371.bacloud.info dockerd[1155]: time="2024-10-14T08:17:12.468957999Z" level=info msg="detected 127.0.0.53 nameserver, assuming systemd-resolved, so>
Oct 14 08:17:12 28130-47371.bacloud.info dockerd[1155]: time="2024-10-14T08:17:12.646533904Z" level=info msg="[graphdriver] using prior storage driver: overlay2"
Oct 14 08:17:12 28130-47371.bacloud.info dockerd[1155]: time="2024-10-14T08:17:12.648114259Z" level=info msg="Loading containers: start."
Oct 14 08:17:12 28130-47371.bacloud.info dockerd[1155]: time="2024-10-14T08:17:12.979716179Z" level=warning msg="could not create bridge network for id 681519d2690eee5b975>
Oct 14 08:17:12 28130-47371.bacloud.info dockerd[1155]: time="2024-10-14T08:17:12.984617672Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.1>
Oct 14 08:17:13 28130-47371.bacloud.info dockerd[1155]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: Failed to S>
Oct 14 08:17:13 28130-47371.bacloud.info dockerd[1155]: (exit status 4))
Oct 14 08:17:13 28130-47371.bacloud.info systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Oct 14 08:17:13 28130-47371.bacloud.info systemd[1]: docker.service: Failed with result 'exit-code'.
Oct 14 08:17:13 28130-47371.bacloud.info systemd[1]: Failed to start Docker Application Container Engine.
Oct 14 08:17:15 28130-47371.bacloud.info systemd[1]: docker.service: Scheduled restart job, restart counter is at 1.
Oct 14 08:17:15 28130-47371.bacloud.info systemd[1]: Stopped Docker Application Container Engine.
Oct 14 08:17:15 28130-47371.bacloud.info systemd[1]: Starting Docker Application Container Engine...
Oct 14 08:17:15 28130-47371.bacloud.info dockerd[1200]: time="2024-10-14T08:17:15.357166201Z" level=info msg="Starting up"
Oct 14 08:17:15 28130-47371.bacloud.info dockerd[1200]: time="2024-10-14T08:17:15.358502223Z" level=info msg="detected 127.0.0.53 nameserver, assuming systemd-resolved, so>
Oct 14 08:17:15 28130-47371.bacloud.info dockerd[1200]: time="2024-10-14T08:17:15.438491049Z" level=info msg="[graphdriver] using prior storage driver: overlay2"
Oct 14 08:17:15 28130-47371.bacloud.info dockerd[1200]: time="2024-10-14T08:17:15.439916889Z" level=info msg="Loading containers: start."
Oct 14 08:17:15 28130-47371.bacloud.info dockerd[1200]: time="2024-10-14T08:17:15.764709722Z" level=warning msg="could not create bridge network for id 681519d2690eee5b975>
Oct 14 08:17:15 28130-47371.bacloud.info dockerd[1200]: time="2024-10-14T08:17:15.776533112Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.1>
Oct 14 08:17:15 28130-47371.bacloud.info dockerd[1200]: failed to start daemon: Error initializing network controller: error creating default "bridge" network: Failed to S>
Oct 14 08:17:15 28130-47371.bacloud.info dockerd[1200]: (exit status 4))
Oct 14 08:17:15 28130-47371.bacloud.info systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Oct 14 08:17:15 28130-47371.bacloud.info systemd[1]: docker.service: Failed with result 'exit-code'.
Oct 14 08:17:15 28130-47371.bacloud.info systemd[1]: Failed to start Docker Application Container Engine.
Oct 14 08:17:17 28130-47371.bacloud.info systemd[1]: docker.service: Scheduled restart job, restart counter is at 2.
Oct 14 08:17:17 28130-47371.bacloud.info systemd[1]: Stopped Docker Application Container Engine.
Oct 14 08:17:17 28130-47371.bacloud.info systemd[1]: Starting Docker Application Container Engine...