スタートアップ(英語)
コミュニティ(英語)
トレーニング(英語)
チュートリアル(英語)
ドキュメント
API、AI、ツール (英語)
-
Linux
-
Docker
-
Podman
flexctl registration renew --username=<your-username> --password=<your-password> \
<path-to-registration-file>
<your-username> と <your-password> は Anypoint Platform ユーザーログイン情報に置き換えます。
<path-to-registration-file> は既存の registration.yaml ファイルのパスとファイル名に置き換えます。
このコマンドの実行時にファイル権限の問題が発生した場合は、sudo を使用してください。
コンテナで実行されている Flex Gateway の場合、コンテナの run コマンドの一部として renew を呼び出します。
docker run --entrypoint flexctl \
-v "$(pwd)":/renew \
-v <path-to-registration-directory>:/registration \
-u $UID mulesoft/flex-gateway \
registration renew \
--username=<your-username> \
--password=<your-password> \
--output-directory=/renew \
<path-to-registration-file-in-container>
<your-username> と <your-password> は Anypoint Platform ユーザーログイン情報に置き換えます。
<path-to-registration-file-in-container> は既存の registration.yaml ファイルのパスとファイル名に置き換えます。コンテナファイルシステムでファイルを指定する必要があります。この場合は /registration/registration.yaml です。
たとえば、/home/user/flex/registration.yaml に現在の登録ファイルが含まれている場合は、/home/user/flex/ に移動して Anypoint Platform ログイン情報を使用して次のコマンドを実行します。
docker run --entrypoint flexctl \
-u $UID -v "$(pwd)":/registration \
mulesoft/flex-gateway \
registration renew \
--username=<your-username> \
--password=<your-password> \
--output-directory=/registration/new \
/registration/registration.yaml
このコマンドでは、新しい登録ファイル /home/user/flex/new/registration.yaml が作成されます。
コンテナで実行されている Flex Gateway の場合、コンテナの run コマンドの一部として renew を呼び出します。
podman run --entrypoint flexctl --userns=keep-id \
-v "$(pwd)":/renew:Z \
-v <path-to-registration-directory>:/registration:Z \
-u $UID docker.io/mulesoft/flex-gateway \
registration renew \
--username=<your-username> \
--password=<your-password> \
--output-directory=/renew \
<path-to-registration-file-in-container>
<your-username> と <your-password> は Anypoint Platform ユーザーログイン情報に置き換えます。
<path-to-registration-file-in-container> は既存の registration.yaml ファイルのパスとファイル名に置き換えます。コンテナファイルシステムでファイルを指定する必要があります。この場合は /registration/registration.yaml です。


