Skip to content

Qt based library to access the Docker HTTP API

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

Huessenbergnetz/libschauer

Repository files navigation

libschauer

Qt based library to access the Docker HTTP API. It supports a subset of the Docker HTTP API - mainly API routes to create and start containers as well as execute commands inside running containers. Its current purpose is to manage containers used for running tests with QTest to test API libraries implementing access to services like Nextcloud. At the moment it only supports TCP sockets to talk to the docker daemon, unix sockets are not supported.

Read more in the API documentation for libschauer.

Features

  • list installed images
  • create, start, stop and remove containers
  • execute commands inside containers

Contributing

The source code is available on Github, feel free to clone or branch according to the LGPLv3. Translation is done on Transifex.

Getting libschauer

Building libschauer

Either clone the git repository or download one of the release tarballs. libschauer is based on the KJob implementation of KDE’s KCoreAddons Qt library. For systems where this is not easily available, a custom implmementation is included.

Build requirements

Optional required but recommended

CMake switches

Option Default Value Requirements Description
BUILD_DOCS OFF doxygen and dot Build API documentation
BUILD_DOCS_QUIET OFF Be quiet when building API docs
ENABLE_MAINTAINER_FLAGS OFF Enable some compiler flags for more warnings
WITH_KDE ON KF5CoreAddons Use KF5CoreAddeons KJob implementation
WITH_TESTS OFF QTest Build unit tests
WITH_API_TESTS OFF docker listening on TCP port Build API tests, currently require nginx image installed

Additional make targes

When BUILD_DOCS is enabled, additional build targets are available.

webdocs

Will create HTML documentation files linked to Qt online documentation if correct tag files are avaiable.

htmldocs

Will create HTML documentation files linked to local Qt offline HTML documentation if correct tag files are available.

qtdocs

Will create compiled Qt documentation usable inside Qt creator if qhelpgenerator is available.

License

libschauer - Qt based library to access the Docker HTTP API
Copyright (C) 2021-2022 Hüssenbergnetz/Matthias Fehring
https://github.com/Huessenbergnetz/libschauer

This library is free software: you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library.  If not, see <http://www.gnu.org/licenses/>.

About

Qt based library to access the Docker HTTP API

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages