obaby@h4ck:~$ docker start freshrss
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.48/containers/freshrss/start": dial unix /var/run/docker.sock: connect: permission denied
Error: failed to start containers: freshrss
obaby@h4ck:~$ sudo docker start freshrss
Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint freshrss (7512a99767252edfcb87609d8aa51353a93820e817515ac5b4488344aa4f9ac2): Unable to enable DNAT rule: (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 10000 -j DNAT --to-destination 172.17.0.2:80 ! -i docker0: iptables: No chain/target/match by that name.
(exit status 1))
Error: failed to start containers: freshrss
obaby@h4ck:~$ systemctl restart docker
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to restart 'docker.service'.
Authenticating as: obaby
Password:
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
==== AUTHENTICATION FAILED ===
Failed to restart docker.service: Access denied
See system logs and 'systemctl status docker.service' for details.
obaby@h4ck:~$ sudo systemctl restart docker
obaby@h4ck:~$ sudo docker restart 4e84124798c4
4e84124798c4
obaby@h4ck:~$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4e84124798c4 95987de3c792 "./Docker/entrypoint…" 18 months ago Up 7 seconds 0.0.0.0:10000->80/tcp, [::]:10000->80/tcp freshrss
obaby@h4ck:~$ crontab