2016-08-16 7 views
2

アップドッキングウィンドウ-構成 『:同じバージョンを持っていないクライアントとサーバを(クライアント:1.21、サーバー:1.18)輸出COMPOSE_API_VERSION』 エラー中にエラー「私のようにエラーを取得しています

は、だから私は、コマンドを実行しました」 = 1.18" と今私は私のドッキングウィンドウ-コンファイルが gist

ドッカーバージョンで発見することができます別のエラーに

Traceback (most recent call last): 
File "<string>", line 3, in <module> 
File "compose/cli/main.py", line 61, in main 
File "compose/cli/main.py", line 113, in perform_command 
File "compose/cli/main.py", line 835, in up 
File "compose/project.py", line 374, in up 
File "compose/project.py", line 415, in initialize 
File "compose/network.py", line 162, in initialize 
File "compose/network.py", line 47, in ensure 
File "compose/network.py", line 82, in inspect 
File "site-packages/docker/utils/decorators.py", line 32, in wrapper 
docker.errors.InvalidVersion: inspect_network is not available for version < 1.21 
docker-compose returned -1 

を取得しています:8eab29e

を構築し、ドッカーバージョン1.12.0。

ドッカーの作成:ドッカーの作成バージョン1.8.0、ビルドf3628c7

Ubuntu 14.04 64bit。

ご協力いただければ幸いです。ありがとう。

答えて

-1

最新のバージョンのdocker(1.12)とdocker-compose(1.8.0)をローカルで実行しています。エラーメッセージは、おそらくリモートサーバー上のコンテナを起動していることを意味しますか? (docker-machineで始まっていますか?)

ターゲットサーバーで動作しているドッカーのバージョンをアップグレードすることをお勧めします。

COMPOSE_API_VERSION variableのドキュメントは、回避策としてのみ使用されることになっています。

Setting this variable is intended as a workaround for situations where you need to run temporarily with a mismatch between the client and server version. For example, if you can upgrade the client but need to wait to upgrade the server.

Running with this variable set and a known mismatch does prevent some Docker features from working properly. The exact features that fail would depend on the Docker client and server versions. For this reason, running with this variable set is only intended as a workaround and it is not officially supported.

If you run into problems running with this set, resolve the mismatch through upgrade and remove this setting to see if your problems resolve before notifying support.

関連する問題