Skip to content

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

Notifications You must be signed in to change notification settings

defung/cockpit-docker-legacy

 
 

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 !

This also adds the "log" and "console" tabs from the official cockpit-podman repo.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 77.9%
  • SCSS 7.5%
  • HTML 7.2%
  • CSS 4.2%
  • Python 2.8%
  • Shell 0.2%
  • Other 0.2%