Monday, May 27, 2019

Error docker-compose up

Hi guys,

If you are trying to run docker-compose up -d but got below error:
TypeError: docopt() got an unexpected keyword argument 'option_first'
or
ModuleNotFoundError: No Module named 'docker.errors'

try to run below comment:
1. pip uninstall docker-py 
2. pip install -U docker-compose
3. try run docker-compose up -d in new terminal

if it's still not working, try to run below comment:
1. pip uninstall docker 
2. pip uninstall docker-py
3. pip uninstall docker-compose
4. pip install docker-compose
5. try run docker-compose up -d in new terminal

Below is full error when can't perform docker-compose up




or


Reference:



No comments:

Post a Comment

Followers