raesene / kube_security_lab

230 stars 41 forks source link

Fix installation instruction for python docker package #4

Closed BafDyce closed 5 years ago

BafDyce commented 5 years ago

On my playground system (Ubuntu 18.04) I got the following error message when trying to start an environment:

TASK [Start up a docker container]
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to import
docker-py - No module named docker. Try `pip install docker-py`"}
raesene commented 5 years ago

Ahh, that's interesting I get the below if I try to run trhe playbook without the docker module installed. possibly the best option is to list both in the README as it looks like it could be either.

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to import docker or docker-py - No module named 'docker'. Try `pip install docker` or `pip install docker-py` (Python 2.6)"}