{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ecr:GetAuthorizationToken",
"ecr:BatchCheckLayerAvailability",
"ecr:GetDownloadUrlForLayer",
"ecr:GetRepositoryPolicy",
"ecr:DescribeRepositories",
"ecr:ListImages",
"ecr:BatchGetImage"
],
"Resource": "*"
}
]
}
#!/bin/bash
export AWS_DEFAULT_REGION="{{ region }}"
eval $(aws ecr get-login)
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/nomad/issues
IRC: #nomad-tool on Freenode
---
You received this message because you are subscribed to a topic in the Google Groups "Nomad" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nomad-tool/2yRr2_a7Mqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nomad-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nomad-tool/efde47d0-3242-46bf-8679-598478b4928a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/nomad/issues
IRC: #nomad-tool on Freenode
---
To view this discussion on the web visit https://groups.google.com/d/msgid/nomad-tool/5fa6f76c-f288-4730-847e-646ff138b3e2%40googlegroups.com.You received this message because you are subscribed to the Google Groups "Nomad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomad-tool+...@googlegroups.com.
Hi,
I have done what you suggested and the ecr works fine, but when i run nomad run job file, nothing happened, it doesn't pull the images, i have tested a redis job just for test and nomad works fine.
But for pulling and running from ecr it doesn't.
Could help me here?
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/nomad/issues
IRC: #nomad-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Nomad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomad-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nomad-tool/f6244993-c12f-430e-91b0-9596c1d1e188%40googlegroups.com.
Hi
I just started planning and implementing the Consul/Nomad the EC2 and ECR (AWS Repo for Containers),
The servers are connected to the ECR, and simple pull by docker cli is working.
however , I am having trouble, the nomad is pulling the containers, trying to understand why the services are not running and not pulled although the logs of nomad show it is:
2016/07/06 08:09:27 [INFO] driver.docker: created container d7bcbac6e8487a52597424608231fb418eedacedfcbc8f5cc4cc9bc720d26a2a
2016/07/06 08:09:27 [INFO] driver.docker: started container d7bcbac6e8487a52597424608231fb418eedacedfcbc8f5cc4cc9bc720d26a2a
2016/07/06 08:09:28 [INFO] driver.docker: stopped container d7bcbac6e8487a52597424608231fb418eedacedfcbc8f5cc4cc9bc720d26a2a
But when i run docker images nothing there....Could you help me here?
To view this discussion on the web visit https://groups.google.com/d/msgid/nomad-tool/b965c8f3-2871-4ff1-905a-5a5a42f75faa%40googlegroups.com.