Ask Your Question
0

[SOLVED] Docker not available from Cockpit?

asked 2015-11-22 23:04:36 -0500

stenstorp gravatar image

updated 2015-11-23 01:05:03 -0500

I have just set up a fresh install of Fedora server 23, fully updated. I connected to the box using cockpit and logged in as my user account that is also an administrator, I went to the 'Containers' tab and a screen saying "Docker is not installed or activated on the system" with a button underneath saying "Start Docker". When I click this button, another messaging saying "Can't connect to Docker" and "Failed to start Docker: failed" underneath. There is also a button underneath that saying "Try again" but when I click it, it just comes up with the first message.

Does anybody know what to do to fix this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-11-23 01:10:26 -0500

stenstorp gravatar image

I removed docker and docker-selinux with the command

rpm --nodeps -e docker docker-selinux

as using dnf would remove cockpit along with other necessary packages. Then, I added the docker repository, following the instructions from: https://docs.docker.com/engine/installation/fedora/

I then installed docker-engine from the docker repo with dnf, rebooted and logged back into cockpit and went to the containers tab. It came up with the message: "Docker is not installed or activated on the system", I then clicked the "Start Docker" button and docker started properly.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-11-22 23:04:36 -0500

Seen: 1,833 times

Last updated: Nov 23 '15