Tag: 空间

使用spacy docker API

我正在尝试使用spacy作为一个API,如下所示: 安装完成后,testing案例工作得很好: curl http://localhost:5000/api –header 'content-type: application/json' –data '{"text": "This is a text that I want to be analyzed."}' -X POST 但我想用python处理输出,所以我试图使用请求库: import requests url = "http://localhost:5000/api" payload = {"text" : "This is a text that I want to be analyzed" } headers = {"content-type": "application/json"} res = requests.post(url, data=payload, headers=headers) res.json() 但是我得到一个输出错误: {u'message': u'The […]

数据空间使用不匹配泊坞窗图像输出

docker信息的输出显示,我正在使用515.2 GB的622.8 GB $ docker info . . Server Version: 1.13.0 Storage Driver: devicemapper Pool Name: vg-thinpool Pool Blocksize: 524.3 kB Base Device Size: 10.74 GB Backing Filesystem: xfs Data file: Metadata file: Data Space Used: 515.1 GB Data Space Total: 622.8 GB Data Space Available: 107.7 GB Metadata Space Used: 161.5 MB Metadata Space […]

Docker运行错误:“精简池的空闲数据块小于最低要求”

我们正在尝试运行一个曾经工作过的docker,但是现在我们得到了一个“精简池空间不足”的错误: docker run –privileged -d –net=host –name=fat-redis -v /fat/deploy:/fat/deploy -v /fat/fat-redis/var/log:/var/log -v /home:/home fat-local.indy.xiolab.myserv.com/fat-redis:latest /fat/deploy/docker/fat-redis/fat_start_docker_inner.sh docker: Error response from daemon: devmapper: Thin Pool has 486 free data blocks which is less than minimum required 163840 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior. See 'docker run […]