Tag: amazon web services

Amazon ECS private DockerHub repo: Unable to decode provided docker credentials error

I have a private repository on DockerHub which I am trying to deploy with ECS. I always get the following error: Unable to decode provided docker credentials module=”ecs credentials” type=”dockercfg” or if I try with type docker: Unable to decode provided docker credentials module=”ecs credentials” type=”docker” I have tried all possibilities mentioned on the ECS […]

Docker containers seem to 'inherit' the instance profile of the host ec2. How?

We have a docker container running on an ec2 host. Within that docker container we run some aws cli commands. We haven’t defined any AWS credentials within the container. This implies that the container inherits Instance Profile of the host ec2. Is my assumption true? If so, how exactly does the container inherit the instance […]

Deploying Django with Docker on Amazon Elastic Beanstalk

I have a conceptual question here- I’m looking to deploy a Django application on Elastic Beanstalk (which I’ve successfully done before) using a Docker (which I have yet to succeed with). I know the Elastic Beanstalk image prebuilt with Docker uses Ngnix, which I’ve deployed Django with before, but I’m a little lost on the […]

Mesos, Marathon, the cloud and 10 data centers – How to talk to each other?

I’ve been looking into Mesos, Marathon and Chronos combo to host a large number of websites. In my head I should be able to type a few commands into my laptop, and wait about 30 minutes for the thing to build and deploy. My only issue, is that my resources are scattered across multiple data […]

Cannot launch interactive session in Windows IIS Docker container

I’m using the AWS “Windows Server 2016 Base with Containers” image (ami-5e6bce3e). Using docker info I can confirm I have the latest (Server Version: 1.12.2-cs-ws-beta). From Powershell (running as Admin) I can successfully run the “microsoft/windowsservercore” container in interactive mode, connecting to CMD in the container: docker run -it microsoft/windowsservercore cmd When I attempt to […]

`Authorization Token has expired` issue AWS-CLI on MacOS Sierra

I’m trying to push a docker image to the AWS ECR repository using the aws-cli. I just run the get-login command execute the output (which returns login succeeded) then try to push a docker image then I get the message: denied: Your Authorization Token has expired. Please run ‘aws ecr get-login’ to fetch a new […]

Deploy-time commands inside Docker on Elastic Beanstalk

I have a Django service running inside Docker that I deploy to AWS Elastic Beanstalk. I would like to run my database migrations at deploy-time If I were deploying to EB as “a Python project”, I could have the following in my .ebextensions: $ cat .ebextensions/01run.config container_commands: 01migrate: command: “python manage.py migrate –noinput” leader_only: true […]

How can I run a Docker container in AWS Elastic Beanstalk with non-default run parameters?

I have a Docker container that runs great on my local development machine. I would like to move this to AWS Elastic Beanstalk, but I am running into a small bit of trouble. I am trying to mount an S3 bucket to my container by using s3fs. I have the Dockerfile: FROM tomcat:7.0 MAINTAINER me@example.com […]

Deploying Perl Docker Container to Elastic Beanstalk

I am building a Docker container that pulls a perl/mojolicious repo from bitbucket but I am having problems. I have my Dockerfile like this: # DOCKER-VERSION 0.3.4 FROM perl:latest MAINTAINER My Name myname@name.com # Update aptitude with new repo RUN apt-get update # Install software RUN apt-get install -y git # Make ssh dir RUN […]

Does AWS support Kubernetes?

I’ve read that AWS does not support Kubernetes and builds their own Docker orchestration engine EC2 Container Service. However, on Kubernetes getting-started -page there is a guide on how to run Kubernetes on AWS: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/aws.md Which is right?

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.