Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dockmancli-1.0.0.tar.gz (26.7 kB view details)

Uploaded Source

Built Distribution

dockmancli-1.0.0-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file dockmancli-1.0.0.tar.gz.

File metadata

  • Download URL: dockmancli-1.0.0.tar.gz
  • Upload date:
  • Size: 26.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for dockmancli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4fcb1021527cc4a4ee67f8f5979042c36d8982719b3f94871c631114e17c9b0a
MD5 4d77276c2c31b016b39f3e67c5a90f9b
BLAKE2b-256 13f122f5fc0231b49602f4305982fca3db2387cbd66489c6aec8237ac1a85696

See more details on using hashes here.

File details

Details for the file dockmancli-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: dockmancli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 31.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for dockmancli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9aeb35b942ce5bbca8ad624bc227f60a3be3237300d4e45e2736fa8a222aea7d
MD5 16a3436e7a47ca2e39b36dcf9e97b6b6
BLAKE2b-256 7ba218c2e7c6c14f8d3d8340f9811200abc2865022fa45d0844d0c80158054f4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page