TecoGAN-Docker icon indicating copy to clipboard operation
TecoGAN-Docker copied to clipboard

Issue with docker

Open alessiapacca opened this issue 3 years ago • 5 comments

When I try to install docker.io on Ubuntu 18.04, I receive this error

Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.

if I run debug, it says:

failed to start daemon: Error initializing network controller: error obtaining controller instance: unable to add return rule in DOCKER-ISOLATION-STAGE-1 chain: (iptables failed: iptables --wait -A DOCKER-ISOLATION-STAGE-1 -j RETURN: iptables: No chain/target/match by that name.

Do you have any idea of the reason?

alessiapacca avatar Oct 15 '20 07:10 alessiapacca

Haven't seen that error before. You could try out the following fix I found: https://bobcares.com/blog/iptables-no-chain-target-match-by-that-name-docker/

tom-doerr avatar Oct 15 '20 13:10 tom-doerr

didn't work... If I run systemctl start docker it says

Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.

So I tried journalctl -xe one of the outputs is: pam_group(mate-screensaver:setcred): unable to set the group membership for user: Operation not permitted and other pam_unix authentication errors. I am indeed using Mate virtual desktop through ssh connection.

finally, if I run systemctl status docker.service it outputs:

docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2020-10-15 15:40:29 CEST; 1min 24s ago
Docs: https://docs.docker.com
Process: 25264 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)

alessiapacca avatar Oct 15 '20 13:10 alessiapacca

Since there seems to be a permission issue, you could try to use rootless docker: https://docs.docker.com/engine/security/rootless/ As the name says, it doesn't require root permissions and therefore you might not get the Operation not permitted error.

tom-doerr avatar Oct 15 '20 14:10 tom-doerr

thank you @tom-doerr . At the end unfortunately I was not able to use the docker, but I am using tecoGan without the docker. I have one question about it though: were you able to train it? For how long? and which losses did you get with your configuration?

Thank you! I am now training but I have no idea what the range of losses should be.

alessiapacca avatar Oct 22 '20 17:10 alessiapacca

Glad you got it to work. :) I was able to train it, but it was a long time ago. I don't remember which configuration I used or what losses I got.

tom-doerr avatar Oct 22 '20 18:10 tom-doerr