NodeJS webpack building in docker container

I read this about long-term caching and tried to implement this in my project, but the manifest file generates wrong links to assets when I'm trying to build it in docker container, but generation process works well. Dockerfile.web FROM node:8.2.1-...
more »

2017-08-13 07:08 (1) Answers

Issues downloading very large docker images

I just thought, that caching is the solution. I am trying to download an extremely big file on a slightly slow and unstable connection. Today I managed to download 12GB at very high financial cost and too much time used. It managed to fail after get...
more »

2017-08-08 23:08 (0) Answers

MacOS docker hanging on config file

I have edited the my docker preferences in the advanced section, where you can paste in JSON and restart. I have added the below and the application never starts, it says to reset if it hangs (which I do) but gives me no cause as to why it hangs. che...
more »

2017-08-08 16:08 (1) Answers

localhost not working in docker for mac

I am using latest Docker for mac. I am running into this strange issue. I can access my webapp via http://127.0.0.1/ but not http://localhost/ however I can access https://localhost/ (self signed cert). So, I am not sure what is wrong here. This is ...
more »

2017-08-07 03:08 (0) Answers

Project structure for golang, docker, gradle

I am just starting with Go (golang) and want to get a new project folder structure set up for a project that will be built with Gradle and deployed to a Docker image. I'm struggling to determine what this project structure might look like, primarily...
more »

2017-07-31 23:07 (1) Answers

How to install memcached in docker container

I am using php:5.6-apache docker image for local development. Now I am developing one portal using codeigniter3. I want to use memcached for caching purpose. But it was not found by default in php:5.6-apache image. How can i install memcached in my ...
more »

2017-07-06 18:07 (1) Answers

/bin/sh: 1: composer: not found

I am trying to build a Dockerfile. FROM php:7 RUN mkdir -p /home/winpc/test/laravelApp/app WORKDIR /home/winpc/test/laravelApp/app COPY composer.json /home/winpc/test/laravelApp/app RUN composer install COPY . /home/winpc/test/laravelApp/app CM...
more »

2017-07-06 17:07 (1) Answers

Deploying Spring WAR to Tomcat-based docker

I have followed through Spring's Building a RESTful Web Service tutorial and created a dummy webapp (with "Build with Maven" instructions). I build and package the WAR. Then I run it with this command: java -jar ./target/Dummy-1.0-SNAPSHOT.war I c...
more »

2017-07-05 09:07 (1) Answers

Jacoco agent - no output

So here is the gist... I use docker-compose. My app is just a collection of REST services (spring boot w/ embedded tomcat) so basically I stick to testing endpoints. Whenever I wish to build project with tests (which are in a whole separate module) ...
more »

2017-06-18 22:06 (1) Answers

running docker inside bazel test env on osx

Trying to run java_test that runs docker inside ProcessBuilder. To simplify the code of the test is as following: @Test public void testDockerExecutable(){ System.out.println("======== running docker =============="); try { Process p...
more »

2017-06-18 12:06 (2) Answers

Docker - Run Jetty on HTTPS

I'm trying to configure my Jetty with SSL. Now I'm just stuck on why it doesn't connect on HTTPS. It works fine on HTTP though. ${JETTY_HOME}/etc/jetty-https.xml <?xml version="1.0"?> <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN...
more »

2017-06-16 19:06 (1) Answers

How to detect if docker container crashed

I am running a process every 5 minutes and checking to make sure every container. If the container does not respond I can flag it as down. I have the containers IP address and I loop through each ip and check if it responds to a ping. If not I flag i...
more »

2017-05-26 16:05 (3) Answers

docker, waiting for SSH to be availabe

I installed docker CE and its ToolBox on "MAC OSX Yosemite 10.10.5", and when i launch the "Docker Quickstart Terminal" i get the message below saying waiting for SSH to be availabe and asking for a password. Please suggest a solution, any answer wil...
more »

2017-05-26 16:05 (0) Answers