Tag: amazon web services

HTTP Code 504 while uploading layer “”

When trying to push images to private registry, the error HTTP Code 504 while uploading layer “” is often occurring.There after it throws , Error response from daemon: invalid registry endpoint https://registrydomain.com/v0/: unable to ping registry endpoint https://registrydomain.com/v0/, the registry seems to go into hang state. I have increased proxy_timeout to 900sec to see if […]

how to create a docker image and update task definition in ecs with it using wercker

I am taking the phusion/baseimage and updating it in ‘build’ pipeline in wercker.yml file but the image being pushed to my registry in ‘deploy’ pipeline doesn’t seems to be the updated version of ‘phusion/baseimage’, i am installing Java, nginx etc but the conatiner image does’nt have the same. Please help! I am confused as where […]

Virtual machine, container shared CPU on Cloud

Many cloud providers host instances with virtual machine or container. Let’s say I need 4 CPUs for my application and launch Google compute engine VM that has 4 CPUs. But it’s virtual machine. Is that guaranteed that all 4 CPUs are exclusively available to my instance, or are those shared with other unknown virtual machines […]

Migration of docker image from AWS to Bluemix or Azure

I have a newbie regarding docker. I would like to know if it is possible to export a docker image created for AWS to Bluemix or Azure. My docker image contains a websocket server under NodeJS and a MongoDB database. Thank you for your help

Which Amazon AMI for a Rails app in a Docker image?

I am looking to deploy my Rails app to an Amazon Web Services AMI, and I want to package my app in a Docker image. I know Docker should be on Linux in production, but there are several different flavors of Linux there and I don’t know which one to use. Does it matter? Or […]

Elastic Beanstalk Single-Container Docker current container name

I have an elastic beanstalk instance running a single docker container. Is there a way to get the ID of the current active container in a programmatic way? I was hoping they would set an environment variable or something but I can’t find it. I’m wanting to execute some commands on the running container (outside […]

docker boto3 AWS was not able to validate the provided access credentials

I’m working in a Command line tool using boto3 in a container running python:3.4 image, In my laptop I can run the code without problem but inside the container I receive the following error: File “/usr/local/lib/python3.4/site-packages/botocore-1.3.26-py3.4.egg/botocore/client.py”, line 310, in _api_call return self._make_api_call(operation_name, kwargs) File “/usr/local/lib/python3.4/site-packages/botocore-1.3.26-py3.4.egg/botocore/client.py”, line 407, in _make_api_call raise ClientError(parsed_response, operation_name) botocore.exceptions.ClientError: An error […]

Docker container name not resolved as DNS for overlay network not reachable

I’ve an application composed of a kafka producer and another kafka consumer. I’m trying to deploy it on a Docker swarm on AWS with mutli-host networking enabled. Kafka container is created by the following docker-compose.yml file: kafka: image: spotify/kafka environment: ADVERTISED_PORT: 9092 ports: – “2181:2181” – “9092:9092” This is how I run the containers for […]

App must be inserted into the docker image?

I read a lot of documentation and tutorials about docker and a configuration compatible with the development in dev and deploy into production. I found different approaches about the inclusion of the app (in my case Node.js API server) inside the docker image, and they are: create Dockerfile within the app and copy the application […]

Flask-Babel won't translate text on AWS within a docker container, but does locally

I have a flask app that is using flask-babel to translate text. I have created a docker container for it all to run in. And i have verified multiple times that both are being run and built exactly the same way. When i put the app on my local docker container (using a vagrant linux […]

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