Examples of using Your container instance in English and their translations into Spanish
{-}
-
Colloquial
-
Official
Step 4: Describe your Container Instance.
To remove unused images,execute the following command on your container instance.
Use docker plugin is on your container instance to retrieve the driver name.
Find the public IP orDNS address for your container instance.
Your container instance must be running the Amazon ECS container agent to register into one of your clusters.
On the Add Storage page,configure the storage for your container instance.
Run the following commands on your container instance to enable IAM roles for tasks.
Create a new Amazon EBS volume in the same Availability Zone as your container instance.
You can use the docker ps command on your container instance to list the running containers. .
To remove non-running containers, execute the following command on your container instance.
You can also add rules for HTTP if you want your container instance to host a job that runs a web server.
In the navigation pane, choose Clusters andselect the cluster that hosts your container instance.
If you do not want your container instance to register with the default cluster, specify your cluster name as the value for ECS_CLUSTER.
Find the default username for your container instance AMI.
However, you must configure your container instance AMI to mount the Amazon EFS file system before the Docker daemon starts.
This property requires at least version 1.25 of the Docker Remote API on your container instance.
Select the security group you created for your container instance from the list of existing security groups, and choose Review and Launch.
You can modify this value at launch time to increase ordecrease the available storage on your container instance.
You can also add rules for HTTP andHTTPS if you want your container instance to host a task that runs a web server.
If the driver was installed using the Docker plugin CLI,use docker plugin ls to retrieve the driver name from your container instance.
Within a few minutes of launching your container instance, the Amazon ECS agent registers the instance with your default cluster.
If this port is misconfigured, the load balancer will likely deregister your container instance from itself.
If your container instance was not launched using the Amazon ECS-optimized AMI, you can install the Amazon ECS container agent manually using one of the following procedures.
If you set this variable to true, then automated image cleanup is disabled on your container instance and no images are automatically removed.
We recommend that you limit the permissions in your container instance role to the minimal list of permissions provided in the managed AmazonEC2ContainerServiceforEC2Role policy shown below.
The ecs: CreateCluster line in theabove policy is optional, provided that the cluster you intend to register your container instance into already exists.
The process for updating the agent differs depending on whether your container instance was launched with the Amazon ECS-optimized AMI or another operating system.
After your instance has launched,you can view your cluster in the Amazon ECS console to see that your container instance has registered with it.
The following Docker error indicates that the thin pool storage on your container instance is full, and that the Docker daemon cannot create new containers. .
You will also need to set the following networking commands on your container instance so that the containers in your tasks can retrieve their AWS credentials.