---
schema_version: "1"
id: cca2bd109af69c899d30fa5fd9bc1f129134dfc8499c4358ce2e41e548d4ce7d
title: Docker コマンドの問題のトラブルシューティング
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/gateway/1.9/flex-troubleshoot-docker.md
canonical_url: https://docs.mulesoft.com/jp/gateway/1.9/flex-troubleshoot-docker
source_site: docs.mulesoft.com
content_type: documentation
content_hash: ecea53926cde2126ecd3fc040e981718dd6873d61af817dcd8299eeebfdee925
description: MuleSoft Documentation Site
release: "1.9"
latest: false
---
# Docker コマンドの問題のトラブルシューティング

`docker`​ コマンドで返されるエラーのトラブルシューティング

- [Docker が開始されない](#daemon-bad-response)
- [Reg Facade エラー (400 Bad Request (400 不正な要求))](#bad-request)

## [](#daemon-bad-response)Docker が開始されない

Docker が開始されていない場合、​`docker`​ コマンドで次のようなエラーメッセージが返されます。

- Error response from daemon: Bad response from Docker engine
- ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock.
           Is the docker daemon running?

このエラーが発生した場合、Docker を開始します。

## [](#bad-request)Reg Facade エラー (400 Bad Request (400 不正な要求))

`docker run`​ を使用してゲートウェイを登録するときに、次のエラーが発生する可能性があります。

\[flexctl\]\[error\] reg facade call returned error response:
HTTP/1.1 400 Bad Request

このエラーの理由は、エラーメッセージ内で確認できます。一般的な原因は次のとおりです。

- `an active target with the same name already exists in this organization and environment (同じ名前のアクティブな対象がすでにこの組織および環境に存在します)`
    
    この問題を回避するには、登録コマンドを実行するときにゲートウェイの​_一意の名前_​を指定します。その名前の前の登録が成功している場合でも、​_同じ名前を再利用することはできません_​。このエラーが発生すると、コマンドによって​_空の_​ ​`registration.yaml`​ が生成されて、再登録できなくなります。​_そのため_​、ゲートウェイをクラスターにデプロイするときにこのファイルを使用しようとすると、エラーが発生します。
- `no valid registration token was found (有効な登録トークンがありませんでした)`
    
    この問題を回避するには、Kubernetes の ​**\[Add a Flex Gateway (Flex Gateway の追加)\]**​ ページを更新して、コマンドの新しいトークンを生成し、登録コマンドを再実行します。

## [](#関連情報)関連情報

- [要求接続のトラブルシューティング](https://docs.mulesoft.com/jp/gateway/1.9/flex-troubleshoot-requests)
- [CLI を使用したトラブルシューティング](https://docs.mulesoft.com/jp/gateway/1.9/flex-troubleshoot-admin-api)
- [自己管理 Flex Gateway の設定](https://docs.mulesoft.com/jp/gateway/1.9/flex-gateway-set-up)