Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.
/ cockpit-docker Public archive
forked from Xantios/cockpit-docker

Just a fork of a fork to make this work with newer cockpit versions.

Notifications You must be signed in to change notification settings

mrevjd/cockpit-docker

 
 

Repository files navigation

Docker plugin for Cockpit

So you can manage your docker containers from Cockpit

How to setup ?

1) Install cockpit

First off you need to install cockpit according to Cockpit docs

2) Get the plugin

Download the Latest Release

3) Install

Move or Copy the downloaded release to the cockpit directory. Eg: /usr/share/cockpit

Change to the cockpit directory.

Simply extract:

tar xf cockpit-docker.tar.gz -C .

Manual install as user module

1) Get the plugin

You can clone this repository by running

git clone https://github.com/mrevjd/cockpit-docker

2) Install

run the ./install script

OR

If you want a more advanced way or want to customize things build it like this:

docker build -t cockpit-docker .

docker run -it \
-v $PWD:/app \
--name cockpit-docker \
cockpit-docker

then link the dist/docker folder to ~/.local/share/cockpit/docker

Manual install as global module

Same as user module but instead of linking to $HOME/.local/share/cockpit/docker link to /usr/share/cockpit/docker

Ubuntu package - YMMV

On Ubuntu 20.04 (and likely others), the cockpit-docker package can still be downloaded and used to retain prior functionality:

wget https://launchpad.net/ubuntu/+source/cockpit/215-1~ubuntu19.10.1/+build/18889196/+files/cockpit-docker_215-1~ubuntu19.10.1_all.deb
sudo dpkg -i cockpit-docker_215-1~ubuntu19.10.1_all.deb

License

Cockpit is licensed under the GNU Lesser general public license. So I'm stuck with that. https://github.com/cockpit-project/cockpit/blob/master/COPYING

Why the fork?

The Cockpit team stopped caring in version 215, declaring they going 'in favor' of podman, a container system nobody uses instead of the defacto standard. the cockpit-podman plugin is currently in development and is far from feature-complete. that doesnt stop RedHat from killing it ! but its OSS ! So let's fork !

Alternative

I have found Portainer https://www.portainer.io/ to be a very good solution for a web based management.

About

Just a fork of a fork to make this work with newer cockpit versions.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 77.1%
  • SCSS 7.7%
  • HTML 7.5%
  • CSS 4.3%
  • Python 2.9%
  • Shell 0.3%
  • Other 0.2%