Skip to main content

Automate the administration of docker and kubernetes

Project description

🐍atk🐋


PYPI Contributions welcome License

PYPI - Format


🌴(Automation)-(Terminal)-(Kubernetes)

🎣Automate the administration of docker and kubernetes


⚓支持 Python3.8 版本的atk,正在开发中……


Simple to install

  1. </code></pre>
    </li>
    </ol>
    <p>pip install atk</p>
    <pre><code>
    
    
    

first step

实例化Agility_Docker(),如果您没有安装docker,那么将会报错。

from atk import *

docker = Agility_Docker()

Check the container

查询容器query()

查询镜像query(self_object_='images')

docker.query()
docker.query(self_object_='images')

Run the container

运行容器run()

docker.run(docker.run(images_name='centos', vessel_name='centos1'))

Query the network card

查询网卡query_network()

docker.query_network(formatting=True)

Modify image tag(label)

修改镜像标签tag()

docker.tag(old_name='centos', new_name='centos2')

更多使用说明:atk-GitHub-tutorial

当前版本:version-0.1.3.8b

Project details


Download files

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

Files for atk, version 0.1.3.8b0
Filename, size File type Python version Upload date Hashes
Filename, size atk-0.1.3.8b0-py3-none-any.whl (13.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size atk-0.1.3.8b0.tar.gz (13.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page