쿠키 기본 설정 선택

당사는 사이트와 서비스를 제공하는 데 필요한 필수 쿠키 및 유사한 도구를 사용합니다. 고객이 사이트를 어떻게 사용하는지 파악하고 개선할 수 있도록 성능 쿠키를 사용해 익명의 통계를 수집합니다. 필수 쿠키는 비활성화할 수 없지만 '사용자 지정' 또는 ‘거부’를 클릭하여 성능 쿠키를 거부할 수 있습니다.

사용자가 동의하는 경우 AWS와 승인된 제3자도 쿠키를 사용하여 유용한 사이트 기능을 제공하고, 사용자의 기본 설정을 기억하고, 관련 광고를 비롯한 관련 콘텐츠를 표시합니다. 필수가 아닌 모든 쿠키를 수락하거나 거부하려면 ‘수락’ 또는 ‘거부’를 클릭하세요. 더 자세한 내용을 선택하려면 ‘사용자 정의’를 클릭하세요.

app2container extract command - AWS App2Container
이 페이지는 귀하의 언어로 번역되지 않았습니다. 번역 요청

app2container extract command

Generates an application archive for the specified application. Before you call this command, you must call the analyze command.

Note

If the command fails, an error message is displayed in the console, followed by additional messaging to help you troubleshoot.

When you ran the init command, if you chose to automatically upload logs to App2Container support if an error occurs, App2Container notifies you of the success of the automatic upload of your application support bundle.

Otherwise, App2Container messaging directs you to upload application artifacts by running the upload-support-bundle command for additional support.

Syntax

app2container extract --application-id id [--output s3] [--help]

Parameters and options

Parameters
--application-id id

The application ID (required). After you run the inventory command, you can find the application ID in the inventory.json file in one of the following locations:

  • Linux: /root/inventory.json

  • Windows: C:\Users\Administrator\AppData\Local\.app2container-config\inventory.json

--profile admin-profile

Use this option to specify a named profile to run this command. For more information about named profiles in AWS, see Named profiles in the AWS Command Line Interface User Guide

Options
--output s3

If specified, this option writes the archive file to the Amazon S3 bucket that you specified when you ran the init command.

--force

Bypasses the disk space prerequisite check.

--help

Displays the command help.

Output

This command creates an archive file. When you use the --output s3 option, the archive is written to the Amazon S3 bucket that you specified when you ran the init command. Otherwise, the archive is written to the output location that you specified when you ran the init command.

Examples

Choose the operating system platform tab for the application server or worker machine where you run the command.

Linux

The following example shows the extract command with the --application-id parameter and no additional options.

$ sudo app2container extract --application-id java-tomcat-9e8e4799 √ Extracted container artifacts for application √ Application archive file created at: /root/app2container/java-tomcat-9e8e4799/java-tomcat-9e8e4799-extraction.tar Extraction successful for application java-tomcat-9e8e4799 Please transfer this tar file to your worker machine and run, "app2container containerize --input-archive <extraction-tar-filepath>"
Windows

The following example shows the extract command with the --application-id parameter and no additional options.

PS> app2container extract --application-id iis-smarts-51d2dbf8 √ Extracted container artifacts for application Extraction successful for application iis-smarts-51d2dbf8

The following example shows the extract command with the --application-id parameter and no additional options.

$ sudo app2container extract --application-id java-tomcat-9e8e4799 √ Extracted container artifacts for application √ Application archive file created at: /root/app2container/java-tomcat-9e8e4799/java-tomcat-9e8e4799-extraction.tar Extraction successful for application java-tomcat-9e8e4799 Please transfer this tar file to your worker machine and run, "app2container containerize --input-archive <extraction-tar-filepath>"
프라이버시사이트 이용 약관쿠키 기본 설정
© 2025, Amazon Web Services, Inc. 또는 계열사. All rights reserved.