This is a simple plasma applet for KDE Plasma 5 to control docker containers via docker-compose. It is just a convenience UI for managing docker containers. I made this for my own convenience to manage my local development setup based on docker-compose. Feel free to open an issue if you want more features and I'll have a look if I might find some time.
- show status of container (with some delay)
- start and stop stacks (
docker-compose up
anddocker-compose stop
) - start and stop services (
docker-compose up SERVICE
anddocker-compose stop SERVICE
) - start shell for services (
docker-compose exec SERVICE sh
) - open public port in browser
- edit compose file in default text editor
- show log files (
docker-compose logs
)
Please install docker-compose. Most distributions should provide packages for it. Then, run install.sh
to install the plasmoid or run the following commands manually.
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=`kf5-config --install-prefix` -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ../
make
sudo make install
kquitapp5 plasmashell
kstart5 plasmashell