The Keb Docker wrapper
Project description
Documentation aussi disponible en français
dockeb, the Keb Docker wrapper.
dockeb can be used as a drop-in replacement for the Docker command-line.
The difference between docker and dockeb is name generation. While docker generates names of the form adjective_surname for containers, dockeb generates a random Keb name.
If you give an explicit name to a container, using the --name flag, it will be left unchanged.
Requirements
To run dockeb, you will need Python ≥ 3.4, as well as Docker.
For installing, we recommend using the pip package manager.
Installing
To install dockeb system-wide, run:
sudo pip3 install dockeb
To install dockeb manually from source, the steps are as follows:
git clone git@github.com:abusque/dockeb.git
cd dockeb
sudo ./setup.py install
Using
Once installed, you can use dockeb by running the following command:
dockeb
For a more interesting command, try:
dockeb run hello-world
dockeb ps -a
You will notice that the container was given a Keb name when created.
To automatically use dockeb instead of docker, consider defining an alias in your shell configuration:
alias docker='dockeb'
Development
For local development of dockeb, you may use pipenv. Use pipenv install --dev to generate a virtual environment into which the dependencies will be installed. You may then use pipenv shell to activate that environment.
For publishing releases to PyPI, we recommend using Twine.
See Also
qng, the Queb name generator.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dockeb-0.3.0.tar.gz
.
File metadata
- Download URL: dockeb-0.3.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59ba420d1c29cb28e4743add229c0c19cf595b4ae83aac181c77c4cee6978620 |
|
MD5 | 18c9ad24eb16978beb389e7ef80954bb |
|
BLAKE2b-256 | 49fc03cf3f6bad5360a2dad0b4d18a26941d1f0977dbb5d21e9686881d91d2e1 |
File details
Details for the file dockeb-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: dockeb-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f894134d0999872a3fda209f329cfe626363655e4cc3fb2ae427278a5c875905 |
|
MD5 | 4c6a9fc69df2a0ccc34c5b85d28f6436 |
|
BLAKE2b-256 | b7337e34db3d26ed950848db1bd6572e2b49afa03ef0f772b9877b10e3dcd1fc |