I have an image in a private Docker Hub repository, which I'm trying to deploy on Amazon's Elastic Container Service. There seems to be nice web console to run a container from a public repository, but nothing for private.
![]()
I've read and tried to understand the, but I don't understand what that has to do with deploying my container, as it states 'The Amazon ECS container agent allows container instances to connect to your cluster'.As an alternative to using the web console, I see mentions of setting up a task definition. It sounds like that's the manual version of what the web console does. I suspect my best bet is with this method, possibly with the help of the script here.What is the simplest way for me to run an existing image on ECS that's hosted in a private repository?
Aws Ecs Artifactory
I use Docker Hub to store a private Docker image, the repository has a webhook that once the image is updated it calls a service I built to:. update the ECS task definition. update the ECS service. deregister the old ECS task definitionThe service is running accordingly. After it runs ECS creates a new task with the new task definition, stops the task with the old task definition and the service come back with the new definition.The point is that the Docker Image is not updated, once the service starts in the new task definition it remains with the old image.Am I doing something wrong? How o ensure the docker image is updated? Your using outdated license file ragnarok card.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |