赞
踩
- from django.test import TestCase
- import docker
- import django
- import requests
- requests.adapters.DEFAULT_RETRIES = 5
- s = requests.session()
- s.keep_alive = False
- print(django.get_version())
- # Create your tests here.
- docker.version_info
- client = docker.APIClient(base_url='tcp://xx.xx.xx.xx:2375')
- print(client.version())
- print(client.info())
报错信息如下:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。