Docker Administrator via CLI
Project description
Docker Manager CLI
Manage Docker interactively from the terminal. You can create and delete images, containers, networks and volumes. You can also create a yaml configuration file with which you can create one or more images, containers, networks and volumes.
Main menu
From the main menu you can access Containers, Images, Volumes and Networks. You can also create all this from a yaml file.
Containers
From the menu you will be able to list or create containers
Containers list
It will show all containers, and their status, in ascending order. The order can be changed in descending order. You can enable the auto-completion option, which will filter the containers as you type. Another option is to select multiple containers, for example, to delete them.
Container options:
Descending order:
Autocomplete:
Multiselect:
Container creation
A container can be created from an existing image, or through a yaml file. First, select the image
Images
From the menu you will be able to list or create images
Images list
Like the containers, the list of images can be sorted in ascending and descending order, enable auto-completion and select multiple images
Image creation
An image can be created by pull, Dockerfile or yaml file
Pull
Pull the image
Dockerfile
Select a Dockerfile from your computer
Volumes
From the menu you will be able to list or create volumes
Volumes list
It will show the list of volumes
Volume options:
Volume creation
A volume can be created manually or yaml file
Manually
Enter name and driver to create the volume
Networks
From the menu you will be able to list or create networks
Networks list
Networks can be sorted in ascending and descending order, enable auto-completion and select multiple networks
Network options:
Network creation
A network can be created manually or yaml file
Manually
Enter name and driver to create the network
Yaml
A yaml file can be used to create containers, images, networks and volumes from the main menu, or from each of the options (containers, images, networks and volumes). An example of a file is:
images:
- image:
path: /path/to/dockerfile/
dockerfile: Dockerfile
tag: image-test:1.0.0
nocache: True
forcerm: True
pull: True
- image:
path: /path/to/another/dockerfile/
dockerfile: Dockerfile-python
tag: python-image-test:1.0.0
nocache: True
forcerm: True
pull: True
# container_limits:
# memory: 1073741824
containers:
- container:
image: container-test:1.0.0
name: image-test:1.0.0
ports:
# container:host
80: 8080
mem_limit: 100m
network: net-test
restart_policy:
Name: always
networks:
- network:
name: net-test
driver: bridge
- network:
name: net-test2
driver: bridge
- network:
name: net-test3
driver: bridge
volumes:
- volume:
name: volumeTest
driver: local
urllib3 warning
If you receive a warning like this:
NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
You should install OpenSSL 1.1.1 or higher. More info here
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 dockmancli-1.0.1.tar.gz
.
File metadata
- Download URL: dockmancli-1.0.1.tar.gz
- Upload date:
- Size: 27.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0350f6d52beb017af7d6a9df02a077f8cec373afd95da26cadd0c2bcd8633c00 |
|
MD5 | 07106eafc8ef07a5717ef6b969b5354e |
|
BLAKE2b-256 | 88aac8661e8b6facdb4b38e3e2988eff446afaf21adfec40822aaa19695df34f |
File details
Details for the file dockmancli-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: dockmancli-1.0.1-py3-none-any.whl
- Upload date:
- Size: 32.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7017dc1452da76355988d36efd53a54bbad4d67b1c7a71b95a3826448a00d7e |
|
MD5 | 4553b4c75eb7ff746030b1bc070951cf |
|
BLAKE2b-256 | 94809f3b37f8af1f0f2721347b0ad67e85076d2f486c7aa316a55332b937f7e0 |