Getting Started with Containerservice - Manage Container Service With Docker Swarm Orchestrator - in Java
An Azure Container Services sample for managing a container service with Docker Swarm orchestration.
- Create an Azure Container Service with Docker Swarm orchestration
- Create a SSH private/public key
- Update the number of agent virtual machines in an Azure Container Service
Running this Sample
To run this sample:
Set the environment variable
AZURE_AUTH_LOCATION with the full path for an auth file. See how to create an auth file.
git clone https://github.com/Azure-Samples/acs-java-manage-azure-container-service-with-docker-swarm-orchestrator.git cd acs-java-manage-azure-container-service-with-docker-swarm-orchestrator mvn clean compile exec:java
If you don't have a Microsoft Azure subscription you can get a FREE trial account here