docker-compose


Docker-compose ps error


I am new to docker-compose and getting the following error when I type in docker-compose ps.
Traceback (most recent call last):
File "/usr/local/bin/docker-compose", line 7, in <module>
from compose.cli.main import main
File "/Library/Python/2.7/site-packages/compose/cli/main.py", line 20, in <module>
from ..bundle import get_image_digests
File "/Library/Python/2.7/site-packages/compose/bundle.py", line 14, in <module>
from .service import format_environment
File "/Library/Python/2.7/site-packages/compose/service.py", line 37, in <module>
from .parallel import parallel_execute
File "/Library/Python/2.7/site-packages/compose/parallel.py", line 10, in <module>
from six.moves import _thread as thread
ImportError: cannot import name _thread
Docker-compose is written by python. It seems that you miss some python packages. You can refer to the following page of how to fix the python lib issue.
Matplotlib issue on OS X ("ImportError: cannot import name _thread")
Alternatively, you can try to install docker-compose as a container, the docker container contains appropriate environment for docker-compose.
https://docs.docker.com/compose/install/#install-as-a-container

Related Links

docker compose environment variable for command
java.net.UnknownHostException: failed to resolve 'inventory-microservice'. Exceeded max queries per resolve 3
What does working_dir tag mean in a docker-compose yml file
If I upgrade an image in docker-compose, will its volumes be lost?
How to solve this docker-compose upgrading error?
Fabric Network - what happens when a downed peer connects back to the network?
Docker-compose and load balancing
Run arguments in Docker Compose
Docker compose file config
Systemd “No such file or directory” itself during “docker-compose up”
Docker compose yml static IP addressing
compose extend file results in a validation error
hubot rocketchat adapter does not work
Docker compose lables constraint:node not work
is it possible to generate a random mysql password with dockercompose
Networking Docker Compose

Categories

HOME
qemu
gap-system
postsharp
overrides
opengl-es
download
thermal-printer
localhost
swap
theory
elastalert
desktop-application
comma
jsfiddle
owncloud
smooth-scrolling
udeploy
screen-scraping
ithit-webdav-server
nsopenpanel
pydub
adobe-captivate
smart-device
typeclass
meteor-accounts
drawrect
andengine
language-detection
availability
rtos
machine-code
javax
pymunk
campaign-monitor
scip
libconfig
area
lex
ui-grid
qt-quick
peerjs
codepen
inner-join
taleo
angular-fullstack
ear
jscoverage
htop
richtext
r-commander
timex
scrollmagic
consolidation
sbt-proguard
laterjs
angular-i18n
clique
std
ewam
edgar
tooltwist
eula
avd
screen-lock
perfect-scrollbar
pytz
nsmutableurlrequest
visual-c#-express-2010
nspopupbutton
xps
pidgin
netbeans-plugins
mahara
ardor3d
8-puzzle
fade
violation
bho
string-length
mmo
ncml
screensharing
teamsystem
openwrap
llblgen
nyromodal
miniport
mysql-logic
carbon-emacs
helios
cstring
managed-code
ironpython-studio

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App