###コマンド入力時にエラー
docker-composeを使おうとしたところコマンド入力時にエラーが出てしまいました。
dockerとdocker-machineコマンドは使えます。
pythonのエラーのようなのですが解決できずに困っています。
###入力したコマンドとエラー
$ docker --version
Docker version 17.03.1-ce, build c6d412e
$ docker-compose --version
Traceback (most recent call last): File "docker-compose", line 2, in <module> File "/private/var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/pip-build-MW5H3j/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module File "compose/cli/__init__.py", line 16, in <module> File "subprocess.py", line 711, in __init__ File "subprocess.py", line 1343, in _execute_child UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128) Failed to execute script docker-compose
$ docker-machine --version
docker-machine version 0.10.0, build 76ed2a6
###試したこと
下記サイトを参考にして
http://qiita.com/puriketu99/items/55e04332881d7b679b00
$ python
Python 2.7.10 (default, Feb 6 2017, 23:53:20) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin Type "help", "copyright", "credits" or "license" for more information.
/Library/Python/2.7/site-packages/sitecustomize.pyを作成
import sys sys.setdefaultencoding("utf-8")
以下ファイル作成後コマンド実行結果
$python
'>>> import sys
'>>> sys.getdefaultencoding
'utf-8'
その後再度下記コマンドを実行したが結果変わらず
$ docker-compose
###補足情報(言語/FW/ツール等のバージョンなど)
macOS sierra version 10.12.4
docker version 17.03.1-ce-mac12 (17661)
よろしくお願いします。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/05/18 08:40
2017/05/20 06:01