Comments (4)
Hey @gillouche , thanks for raising the issue; I haven’t upgraded to cli v2 yet, thank you for pointing out the corresponding issue on AWS’s repo.
Sounds like we’re going to have to adjust the command to accommodate for both versions if possible (presumably by checking the aws cli’s version before talking to ECR).
from sagify.
Hi,
I hit the same issue. This should work.
# Get the login command from ECR and execute it directly
if [[ ! -z "$profile" ]]; then
aws --region ${region} ecr get-login-password --profile ${profile} | docker login --username AWS --password-stdin ${account}.dkr.ecr.${region}.amazonaws.com
else
aws --region ${region} ecr get-login-password | docker login --username AWS --password-stdin ${account}.dkr.ecr.${region}.amazonaws.com
fi
AWS CLI v2 has been out for almost 6 months now, I'd recommend going for it :)
*** EDIT: yes, this works. I just tested it.
Started pushing Docker image to AWS ECS. It will take some time. Please, be patient...
Docker image pushed to ECS successfully!
from sagify.
Hi
this is my oneliner which works . You just need to change PROF variable value to your aws cli profile id
PROF=test-poc;
from sagify.
Hey folks, @makarono @gillouche @juliensimon issue should be solved since Sagify version 0.20.8. FYI, the lastest Sagify version is 0.20.9.
from sagify.
Related Issues (20)
- Exploit SageMaker managed spot training HOT 2
- Adding the possibility to drop deployed models and endpoints HOT 3
- Optimize Docker image
- CreateTrainingJob operation: Invalid MaxWaitTimeInSeconds HOT 3
- Invalid type for parameter ExternalId, value: None HOT 8
- Amazon SageMaker Autopilot Support HOT 1
- Cloud deploy not working HOT 1
- Error with credentials location when using a role and profile for sagify cloud train HOT 3
- No Local GPU HOT 2
- error when pushing docker image : no credentials found HOT 2
- Feature request: support SageMaker SDK v2 HOT 2
- motivation is missing HOT 1
- Replace Travis with GitHub Actions HOT 1
- AWS profile choice default throws IndexError HOT 2
- Version conflict ulrlib while running sagify init HOT 4
- Installing the latest version downloads all versions of `boto3` and `botocore` until it fails HOT 3
- Library stopped being maintained? HOT 4
- SageMaker Inference with GPU
- Are there any plans to support multi-model endpoints and/or multi-container? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sagify.