So you can manage your docker containers from Cockpit
First off you need to install cockpit according to Cockpit docs
Download the Latest Release
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 .
You can clone this repository by running
git clone https://github.com/mrevjd/cockpit-docker
run the ./install
script
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
Same as user module but instead of linking to $HOME/.local/share/cockpit/docker
link to /usr/share/cockpit/docker
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
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
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 !