Xantios / cockpit-docker

Just a fork
153 stars 49 forks source link

Installation assistance #2

Closed 0x20Fearless closed 3 years ago

0x20Fearless commented 3 years ago

The 3 lines of command is making and linking a DIR. Then what, I clone this repo in my home folder and do the ./run -f ? And do I already need cockpit installed, or will this launch cockpit inside a docker?

I am looking to add the container tab to my VPS with Cockpit installed on.

Xantios commented 3 years ago

Hey,

First of all, thanks for your interest in this plugin.

Yes, you should install cockpit first because this is a plugin. it does not come with its own cockpit install. the docker file is intended to build the plugin from source. so clone this repo and run the build script as documented. the output of running the container is that you get a dist folder.

When you link it (or move/copy if you like) to ~/.local/share/cockpit/docker then Cockpit picks it up as a plugin.

If you get it running feel free to make a PR to make the installation more obvious for new users. I can imagine your not the only one running into this.

edmondsiu0 commented 3 years ago

The current installation procedure seems to be:

git clone https://github.com/Xantios/cockpit-docker.git
cd cockpit-docker/
./run -f

You'll then get a dist with docker directory inside.

This docker directory contained the module that you're after. To move it into your user's cockpit module, link it to ~/.local/share/cockpit/docker, otherwise link / cp it to /usr/share/cockpit.

Xantios commented 3 years ago

Hey @uberduck ,

That would work as intended indeed.

I think im going to rewrite the readme a bit to make that more clear.

Xantios commented 3 years ago

Rewrote the readme, think this should clear things up a bit :-) if you have any questions please feel free to create a new issue