Alibaba Cloud Toolkit enables you to quickly deploy applications to an image repository for secure image hosting. After installing and configuring Alibaba Cloud Toolkit in Eclipse, you can automate deployment by setting the required parameters on the configuration interface.
Prerequisites
- You have installed and configured Docker.
- Alibaba Cloud Toolkit is installed and configured. For more information, see Install and configure Cloud Toolkit in Eclipse.
Image repository configuration
Follow these steps to deploy an application to an image repository using Cloud Toolkit:
- In Project Explorer on the left side of the Eclipse interface, right-click the project that you want to deploy. From the shortcut menu, select .
- On the Select a package method page, select the project path.
Note Context Directory and Dockerfile are usually detected and set automatically based on your local project.
- In the Select a Repository dialog box, set the deployment parameters.
Parameter descriptions:- Repositories
- Alibaba Cloud Container Registry: An Alibaba Cloud image repository. For more information, see Deploy applications to ACR.
- Custom Container Registry: A self-managed image repository. For more information, see Deploy applications to other image repositories.
- Image
Version: The image version number.
- Repositories
Deploy applications to ACR
- On the deployment parameters page, select Alibaba Cloud Container Registry.

- Select a Region.
- Select a Namespace.
- Select an Image Repository.
- From the Advanced drop-down list, select a network type.
- Internet: The public network.
- VPC Network: A Virtual Private Cloud (VPC).
- Classic Network: The classic network.
- Click Finish.
Deploy applications to other image repositories
- On the deployment parameters page, select Custom Container Registry.
- Click Add to configure the registry information.
- On the Registry page, configure the Name, Address, Username, and Password for the image repository.
Note Click Test Connection to verify the connection to the remote repo. - Select .
- In the Repository dialog box, enter your image address.
- Click Finish.
Verify the result
For example, on the Alibaba Cloud Container Registry platform, you can confirm whether the image was pushed successfully by checking the update time of your Image Version.

该文章对您有帮助吗?