Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error when starting Docker daemon
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
leonchik1976
Apprentice
Apprentice


Joined: 24 Jan 2010
Posts: 195

PostPosted: Wed Apr 08, 2020 2:10 pm    Post subject: Error when starting Docker daemon Reply with quote

when i try to start Docker daemon, i have an error, any ideas?

● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2020-04-08 17:08:34 IDT; 2s ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Process: 2227 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, status=1/FAILURE)
Main PID: 2227 (code=exited, status=1/FAILURE)

Apr 08 17:08:34 gentoo systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Apr 08 17:08:34 gentoo systemd[1]: Stopped Docker Application Container Engine.
Apr 08 17:08:34 gentoo systemd[1]: docker.service: Start request repeated too quickly.
Apr 08 17:08:34 gentoo systemd[1]: docker.service: Failed with result 'exit-code'.
Apr 08 17:08:34 gentoo systemd[1]: Failed to start Docker Application Container Engine.
Back to top
View user's profile Send private message
sdauth
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2018
Posts: 134
Location: Frankreich

PostPosted: Wed Apr 08, 2020 2:17 pm    Post subject: Reply with quote

Is your user in docker group ?

gpasswd -a user docker
Back to top
View user's profile Send private message
leonchik1976
Apprentice
Apprentice


Joined: 24 Jan 2010
Posts: 195

PostPosted: Wed Apr 08, 2020 2:18 pm    Post subject: Reply with quote

yes, but i run this as root user
Code:
systemctl start docker
Back to top
View user's profile Send private message
sdauth
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2018
Posts: 134
Location: Frankreich

PostPosted: Wed Apr 08, 2020 2:20 pm    Post subject: Reply with quote

Ok, strange. Maybe more info in /var/log/docker.log ?
Back to top
View user's profile Send private message
leonchik1976
Apprentice
Apprentice


Joined: 24 Jan 2010
Posts: 195

PostPosted: Wed Apr 08, 2020 2:22 pm    Post subject: Reply with quote

# journalctl -xe
--
-- The job identifier is 1654.
Apr 08 17:08:34 gentoo systemd[1]: Listening on Docker Socket for the API.
-- Subject: A start job for unit docker.socket has finished successfully
-- Defined-By: systemd
-- Support: https://gentoo.org/support/
--
-- A start job for unit docker.socket has finished successfully.
--
-- The job identifier is 1654.
Apr 08 17:08:34 gentoo systemd[1]: docker.service: Start request repeated too quickly.
Apr 08 17:08:34 gentoo systemd[1]: docker.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://gentoo.org/support/
--
-- The unit docker.service has entered the 'failed' state with result 'exit-code'.
Apr 08 17:08:34 gentoo systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: A start job for unit docker.service has failed
-- Defined-By: systemd
-- Support: https://gentoo.org/support/
Back to top
View user's profile Send private message
leonchik1976
Apprentice
Apprentice


Joined: 24 Jan 2010
Posts: 195

PostPosted: Fri Apr 10, 2020 8:11 pm    Post subject: Reply with quote

i found out that after iptables upgrade, /sbin/iptables symlink was removed, and this causes to docker daemon to fail to start. any thoughts how to disable docker dependency on iptables?
Back to top
View user's profile Send private message
coderanger
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2018
Posts: 102
Location: Ukraine

PostPosted: Sat Apr 11, 2020 12:21 am    Post subject: Reply with quote

What is the exact error message? journalctl -u docker

leonchik1976 wrote:
i found out that after iptables upgrade, /sbin/iptables symlink was removed

What was that update? I have no issues observed with net-firewall/iptables-1.6.1-r3

leonchik1976 wrote:
any thoughts how to disable docker dependency on iptables?

Unfortunately, it is easier to return iptables back because it is a mandatory dependency
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum