Possible to run Google Standard Managed VM Locally with Docker for Development?

Is it possible to run a Google Standard Managed VM for Java locally for development purposes? I am asking cause dev_appserver.py, mvn gcloud:run or gcloud preview app run are good for a simple hello world application, but anything bigger than that doesn’t work… (single threaded, timeout, etc…).

Developing NodeJS app using Docker with live relaod

I’m developing a NodeJS app which uses webpack server.Webpack server is configured to take care of automatic file reloads. I want this to be mounted as a volume so that there is no need to rebuild the image every time I change the code. I want the node_modules folder to be available within the image […]

Visual Studio publish to custom Docker container fails due to non-existent Dockerfile directory

I’m following Scott Hanselman’s article Brainstorming development workflows with Docker, Kitematic, VirtualBox, Azure, ASP.NET, and Visual Studio and failing during the publish process. To set the stage, I’ve got Docker Toolbox (as of 2/11/16), Visual Studio 2015, Visual Studio 2015 Tools for Docker (as of 2/11/16) and ASP.NET RC 1. My publish dialog looks as […]

Rails and docker Postgress Too many connections

Hi I have been writing the cucumber tests for the rails app and when I submit the form I see below error in sneakers-production.log. p-218 t-oxb8ghw04 ERROR: [worker-server.build:1:8xy5vt][#<Thread:0x007fe7f4dfb888>][server.build][#<Sneakers::Configuration:0x007fe7f4e00770>] unexpected error [Exception error=”FATAL: sorry, too many clients already\n” error_class=PG::ConnectionBad backtrace=/usr/local/bundle/gems/activerecord-4.2.2/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in `initialize’,/usr/local/bundle/gems/activerecord-4.2.2/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in `new’,/usr/local/bundle/gems/activerecord-4.2.2/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in `connect’,/usr/local/bundle/gems/activerecord-4.2.2/lib/active_record/connection_adapters/postgresql_adapter.rb:242:in `initialize’,/usr/local/bundle/gems/activerecord-4.2.2/lib/active_record/connection_adapters/postgresql_adapter.rb:44:in `new’,/usr/local/bundle/gems/activerecord-4.2.2/lib/active_record/connection_adapters/postgresql_adapter.rb:44:in `postgresql_connection’,/usr/local/bundle/gems/activerecord-4.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:438:in `new_connection’,/usr/local/bundle/gems/activerecord-4.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in `checkout_new_connection’,/usr/local/bundle/gems/activerecord-4.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in `acquire_connection’,/usr/local/bundle/gems/activerecord-4.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:in `block in checkout’,/usr/local/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize’,/usr/local/bundle/gems/activerecord-4.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in `checkout’,/usr/local/bundle/gems/activerecord-4.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in `block in […]

Start and attach a docker container with X11 forwarding

There are various articles like this, this and this and many more, that explains how to use X11 forwarding to run GUI apps on Docker. I am using a Centos Docker container. However, all of these approaches use docker run with all appropriate options in order to visualize the result. Any use of docker run […]

ASP.NET Core 1.0 RC1 Docker with dnu publish

I have published an asp.net vnext application using, dnu publish –runtime 1.0.0-rc1-update1 –framework dnxcore50 –no-source after this If I generate a docker container, FROM microsoft/aspnet:1.0.0-rc1-update1-coreclr ADD ./bin/output/approot /app WORKDIR /app EXPOSE 8080 ENTRYPOINT [“./web1”] If I run this using “docker run” command, then I see there is a problem with System.Net.Security. I also read some […]

Have to docker-machine ssh default to pull images

I just install the latest Docker on my Mac. I get an error when I run docker pull hello-world: foo:~ muxi$ docker pull docker/whalesay Using default tag: latest Pulling repository docker.io/docker/whalesay Network timed out while trying to connect to https://index.docker.io/v1/repositories/docker/whalesay/images. You may want to check your internet connection or if you are behind a proxy. […]

Image deployment with config files

I have an image what i want deploy. Imagine web app in myapp:latest image: FROM debian:jessie […] EXPOSE 80 CMD [“/bin/bash”, “/bin/run_myapp.sh”] Where /bin/run_myapp.sh load a config file from /etc/myapp.conf. To deploy 3 instances with 3 differents config files i think to do something like: C1=$(docker run -d myapp) C2=$(docker run -d myapp) C3=$(docker run […]

Google cloud sdks doesn't start preview for Docker image Mac OS

My app.yaml runtime: custom vm: true api_version: 1 health_check: enable_health_check: False Dockerfile # Use the official go docker image built on debian. FROM golang:1.5.1 # Grab the source code and add it to the workspace. ADD . /go/ # Install revel and the revel CLI. RUN go get github.com/revel/revel RUN go get github.com/revel/cmd/revel # Use […]

Get the external Container Id to the Go Template

My following setup is a docker container in which a golang app runs. I work with the Scratch container to get one of the smallest containers. In my Go application I have some templates and the templates contains AngularJs etc. Anyway, the templates want to call REST-Routes based on the Go server. But how can […]

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