2016-07-04 17 views
2

nexus 3の設定でドッカーレジストリを設定しています。 apacheの背後にあるネクサスを実行していて、httpsを有効にしています。コマンドラインでデーモンからのエラー応答:予期しないステータスコード404

、私はdcoker検索を行うとき、私は以下のエラーを取得

ドッカ検索my.nexus.net/ubantu

Error response from daemon: Unexpected status code 404 

ここでは、デバッグモードでのデーモンのログです。

DEBU[7519] Calling GET /images/search 
INFO[7519] GET /v1.19/images/search?term=my.nexus.net%2Fubantu 
DEBU[7519] pinging registry endpoint https://my.nexus.net/v0/ 
DEBU[7519] attempting v2 ping for registry endpoint https://my.nexus.net/v2/ 
DEBU[7519] hostDir: /etc/docker/certs.d/my.nexus.net 
DEBU[7519] attempting v1 ping for registry endpoint https://my.nexus.net/v1/ 
DEBU[7519] hostDir: /etc/docker/certs.d/my.nexus.net 
DEBU[7519] Error unmarshalling the _ping RegistryInfo: invalid character '<' looking for beginning of value 
DEBU[7519] RegistryInfo.Version: "" 
DEBU[7519] Registry standalone header: '' 
DEBU[7519] RegistryInfo.Standalone: true 
DEBU[7519] attempting v1 ping for registry endpoint https://my.nexus.net/v1/ 
DEBU[7519] hostDir: /etc/docker/certs.d/my.nexus.net 
DEBU[7519] Error unmarshalling the _ping RegistryInfo: invalid character '<' looking for beginning of value 
DEBU[7519] RegistryInfo.Version: "" 
DEBU[7519] Registry standalone header: '' 
DEBU[7519] RegistryInfo.Standalone: true 
DEBU[7519] Endpoint https://my.nexus.net/v1/ is eligible for private registry. Enabling decorator. 
DEBU[7519] Index server: https://my.nexus.net/v1/ 
DEBU[7519] hostDir: /etc/docker/certs.d/my.nexus.net 
ERRO[7519] Handler for GET /images/search returned error: Unexpected status code 404 
ERRO[7519] HTTP Error         err=Unexpected status code 404 statusCode=500 

いずれかがあれば教えてください。

おかげで、あなたがレジストリエンドポイントの異なるバージョンを追悼しようと思わログから

+0

同じ問題は、ドッキングウィンドウプルは正常に動作しますが、プッシュでオペレーションネクサスログ表示DEBUG [qtp1022076555-115] admin org.sonatype.nexus.repository.httpbridge.internal.DefaultHttpResponseSender - 応答{ステータス=成功{false = code = 404、メッセージ= 'null'}、ペイロード= null} –

答えて

1

。リポジトリ設定でv1Enabled:falseオプションを使用しましたか? v1 ping中にエラーが発生したように見えますが、引き続きそのエンドポイントを使用します。それはむしろ奇妙な&予期しない動作です。

enter image description here

0

NXRM3を使用してドッキングウィンドウでほとんど何を行うには、あなたはとてもリポジトリマネージャは、あなたが探しているもののリポジトリを知っているあなたが検索しているポートを指定する必要があります。ルートポートを指定しただけでは(または、ポートのように見えません)、NXRM3にはあなたが見ているものがありません。

だからあなたのグループは、HTTPSを使用するための設定がある場合は、コネクタ18075試し「ドッキングウィンドウの検索my.nexus.net:18075/ubantu」

参考:http://books.sonatype.com/nexus-book/reference3/docker.html#docker-search

関連する問題