2017-01-09 13 views
0

私はメソスを作り、hereの指示に従ってメゾスのドッカーイメージを使いました。以下の3番目のステップでエラーが発生します:HTTP/1.1 401 Unauthorizedここに私が得るステップとエラーがあります。次のようにメソスは `HTTP/1.1 401 Unauthorized`エラーで失敗します

  1. UbuntuのVM上のmesosマスターを開始します

    GLOG_v=1 ./bin/mesos-agent.sh --master=127.0.0.1:5050 --work_dir=/valib/mesos --isolation=docker/runtime,filesystem/linux --image_providers=docker --executor_environment_variables="{}" --docker_config=file:///home/user/.docker/config.json

  2. ./bin/mesos-master.sh --ip=127.0.0.1 --work_dir=/tmp/mesos

  3. は同じマシン上で次のコマンドを実行してmesosスレーブを開始

  4. 次に、次のようにしてmesos実行プログラムを実行します。

    src/mesos-execute --master=127.0.0.1:5050 --name=test --docker_image=library/redis --shell=false

ステップ3次のエラーで終了:

I0109 10:51:03.744791 16304 scheduler.cpp:184] Version: 1.2.0 
I0109 10:51:03.746084 16313 scheduler.cpp:470] New master detected at [email protected]:5050 
Subscribed with ID f8318398-ea94-49bf-ba39-a3de8d4b93f2-0000 
Submitted task 'test' to agent 'f8318398-ea94-49bf-ba39-a3de8d4b93f2-S0' 
Received status update TASK_FAILED for task 'test' 
    message: 'Failed to launch container: Failed to decode HTTP responses: No response decoded 
HTTP/1.0 200 Connection established 

HTTP/1.1 401 Unauthorized 
Content-Type: application/json; charset=utf-8 
Docker-Distribution-Api-Version: registry/2.0 
Www-Authenticate: Bearer realm="https://auth.docker.io/token",service="registry.docker.io",scope="repository:library/redis:pull" 
Date: Mon, 09 Jan 2017 15:56:58 GMT 
Content-Length: 145 
Strict-Transport-Security: max-age=31536000 

{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"repository","Name":"library/redis","Action":"pull"}]}]} 
' 
    source: SOURCE_AGENT 
    reason: REASON_CONTAINER_LAUNCH_FAILED 

答えて

0

あなたの問題は少し問題要求がHTTPパーサを通過する場合や、ドッキングウィンドウの画像を得ることを説明し、このJIRA issueのように聞こえますプロキシ

関連する問題