vpsfreecz / vpsadminos

Host for Linux system containers based on NixOS, ZFS and LXC
https://vpsadminos.org
MIT License
155 stars 26 forks source link

Docker error on node1.stg after update Docker #54

Closed petrparolek closed 2 years ago

petrparolek commented 2 years ago
Unpacking containerd.io (1.5.10-1) over (1.4.12-1) ...
Preparing to unpack .../07-docker-ce-cli_5%3a20.10.13~3-0~ubuntu-focal_amd64.deb ...
Unpacking docker-ce-cli (5:20.10.13~3-0~ubuntu-focal) over (5:20.10.12~3-0~ubuntu-focal) ...
Preparing to unpack .../08-docker-ce_5%3a20.10.13~3-0~ubuntu-focal_amd64.deb ...
Unpacking docker-ce (5:20.10.13~3-0~ubuntu-focal) over (5:20.10.12~3-0~ubuntu-focal) ...
Preparing to unpack .../09-docker-ce-rootless-extras_5%3a20.10.13~3-0~ubuntu-focal_amd64.deb ...
Unpacking docker-ce-rootless-extras (5:20.10.13~3-0~ubuntu-focal) over (5:20.10.12~3-0~ubuntu-focal) ...
Preparing to unpack .../10-docker-scan-plugin_0.17.0~ubuntu-focal_amd64.deb ...
Unpacking docker-scan-plugin (0.17.0~ubuntu-focal) over (0.12.0~ubuntu-focal) ...

docker run -it alpine ping -c 3 vpsfree.cz

docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: write sysctl key net.ipv4.ping_group_range: write /proc/sys/net/ipv4/ping_group_range: invalid argument: unknown.
ERRO[0004] error waiting for container: context canceled
snajpa commented 2 years ago

https://github.com/vpsfreecz/vpsadminos/commit/3fca5f419a13e194bbfb8105f41c5347f30a6c4b

currently deploying

snajpa commented 2 years ago

https://github.com/vpsfreecz/vpsadminos/commit/8471fde89830e7c125d212063f0e8adc29c5ff8a

deployed, docker now working

petrparolek commented 2 years ago

Great work, it's working for old docker and new docker.